SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("FE Compatibility code by Mokiros") | |
6 | local rp = RealPlayer | |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
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 Mouse = Player:GetMouse() | |
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
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 | ||
85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
86 | --Real game object | |
87 | local _rg = game | |
88 | ||
89 | --Metatable for fake service | |
90 | local fsmt = { | |
91 | __index = function(self,k) | |
92 | local s = rawget(self,"_RealService") | |
93 | if s then return s[k] end | |
94 | end, | |
95 | __newindex = function(self,k,v) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then s[k]=v end | |
98 | end, | |
99 | __call = function(self,...) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then return s(...) end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return self[s] | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | } | |
120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
121 | g.service = g.GetService | |
122 | ||
123 | g.RunService = FakeService({ | |
124 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
125 | BindToRenderStep = function(self,name,_,fun) | |
126 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
127 | end, | |
128 | UnbindFromRenderStep = function(self,name) | |
129 | self._btrs[name]:Disconnect() | |
130 | end, | |
131 | },"RunService") | |
132 | ||
133 | setmetatable(g,{ | |
134 | __index=function(self,s) | |
135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
137 | end, | |
138 | __newindex = fsmt.__newindex, | |
139 | __call = fsmt.__call | |
140 | }) | |
141 | --Changing owner to fake player object to support owner:GetMouse() | |
142 | game,owner = g,g.Players.LocalPlayer | |
143 | end | |
144 | --[[Hell toast by vlad20020-- | |
145 | Im a bit crappy scripter but its ok. | |
146 | --]] | |
147 | plr = game.Players.LocalPlayer | |
148 | char = plr.Character | |
149 | ra = char["Right Arm"] | |
150 | la = char["Left Arm"] | |
151 | rl = char["Right Leg"] | |
152 | ll = char["Left Leg"] | |
153 | h = char.Head | |
154 | t = char.Torso | |
155 | mouse = plr:GetMouse() | |
156 | tweens = game:GetService("TweenService") | |
157 | print("Made by vlad20020") | |
158 | warn([[ | |
159 | Q - I still dont know how to name this attack | |
160 | E - Toast smash | |
161 | R - Just bit the toast | |
162 | T - Dead sky | |
163 | F - Punch | |
164 | G - Stomp(Works only if dud stunned) | |
165 | Z - Sit | |
166 | X - Teleport | |
167 | C - Crouch + Half invisiblity | |
168 | V - *CrUnCh* | |
169 | Y - Throw Toast(Heals) | |
170 | N - Fix character | |
171 | B - Summon an explosion(Aim) | |
172 | H - Cut the throat(Target) | |
173 | J - Kaboom! | |
174 | U - Bread Grenade | |
175 | N - Decapitate(Target) | |
176 | M - T-Pose dance | |
177 | 1 - Randomly change music | |
178 | Click - Slap]]) | |
179 | --------------- | |
180 | rs = t["Right Shoulder"] | |
181 | ls = t["Left Shoulder"] | |
182 | rh = t["Right Hip"] | |
183 | lh = t["Left Hip"] | |
184 | nec = t.Neck | |
185 | rut = char.HumanoidRootPart | |
186 | rutj = rut.RootJoint | |
187 | hum = char.Humanoid | |
188 | using = false | |
189 | eating = false | |
190 | it = Instance.new | |
191 | ---I took it from shackluster`s script lol--- | |
192 | ------Part Creation------ | |
193 | function CreatePart( parent, material, reflectance, transparency, brickcolor, name, size, anchor,cancollide) | |
194 | local NEWPART = Instance.new("Part") | |
195 | NEWPART.Reflectance = reflectance | |
196 | NEWPART.Transparency = transparency | |
197 | NEWPART.CanCollide = false | |
198 | NEWPART.Locked = true | |
199 | NEWPART.Anchored = true | |
200 | NEWPART.CanCollide = cancollide | |
201 | if anchor == false then | |
202 | NEWPART.Anchored = false | |
203 | end | |
204 | NEWPART.BrickColor = BrickColor.new(tostring(brickcolor)) | |
205 | NEWPART.Name = name | |
206 | NEWPART.Size = size | |
207 | NEWPART.Position = t.Position | |
208 | NEWPART.Material = material | |
209 | NEWPART:BreakJoints() | |
210 | NEWPART.Parent = parent | |
211 | return NEWPART | |
212 | end | |
213 | ------Mesh Creation------ | |
214 | function createMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
215 | local NEWMESH = it(MESH) | |
216 | if MESH == "SpecialMesh" then | |
217 | NEWMESH.MeshType = MESHTYPE | |
218 | if MESHID ~= "nil" and MESHID ~= "" then | |
219 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
220 | end | |
221 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
222 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
223 | end | |
224 | end | |
225 | NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0) | |
226 | NEWMESH.Scale = SCALE | |
227 | NEWMESH.Parent = PARENT | |
228 | return NEWMESH | |
229 | end | |
230 | ------Weld Creation------ | |
231 | function CreateWeld(Type, parent, part0, part1, C0, C1) | |
232 | local newweld = Instance.new(Type) | |
233 | newweld.Part0 = part0 | |
234 | newweld.Part1 = part1 | |
235 | newweld.C0 = C0 | |
236 | newweld.C1 = C1 | |
237 | newweld.Parent = parent | |
238 | return newweld | |
239 | end | |
240 | ---------Ragdoll-------- | |
241 | at2 = t:findFirstChild("RightCollarAttachment") at2.Position = Vector3.new(1,.8,0) | |
242 | at = Instance.new("Attachment",ra) at.Name = "oof" at.Position = Vector3.new(-.5,.8,0) | |
243 | balls = Instance.new("BallSocketConstraint",ra) balls.Attachment0 = at2 balls.Attachment1 = at | |
244 | at21 = t:findFirstChild("LeftCollarAttachment") at21.Position = Vector3.new(-1,.8,0) at21.Orientation = Vector3.new(0,180,0) | |
245 | at1 = Instance.new("Attachment",la) at.Name = "oof" at1.Position = Vector3.new(.5,.8,0) | |
246 | balls1 = Instance.new("BallSocketConstraint",la) balls1.Attachment0 = at21 balls1.Attachment1 = at1 | |
247 | nek = Instance.new("Attachment",h) nek.Position = Vector3.new(0,-.5,0) nball = Instance.new("BallSocketConstraint",h) nball.Attachment0 = nek nball.Attachment1 = t:findFirstChild("NeckAttachment") | |
248 | owihatedis = Instance.new("Attachment",t) owihatedis.Position = Vector3.new(.6,-1,0) oihd = Instance.new("Attachment",rl) oihd.Position = Vector3.new(.1,1,0) oww = Instance.new("BallSocketConstraint",rl) oww.Attachment0 = owihatedis oww.Attachment1 = oihd | |
249 | owihatedis2 = Instance.new("Attachment",t) owihatedis2.Position = Vector3.new(-.6,-1,0) oihd2 = Instance.new("Attachment",ll) oihd2.Position = Vector3.new(-.1,1,0) oww2 = Instance.new("BallSocketConstraint",ll) oww2.Attachment0 = owihatedis2 oww2.Attachment1 = oihd2 | |
250 | hum.Died:connect(function() | |
251 | mus:Destroy() | |
252 | rut:Destroy() | |
253 | local dying = Instance.new("Sound",char) dying.Volume = 5 dying.SoundId = "rbxassetid://475550904" dying:Play() hum.DisplayDistanceType = "None" | |
254 | local boom = Instance.new("Explosion",char) boom.Position = t.Position h.face.Texture = "http://www.roblox.com/asset/?id=41679365" boom.BlastRadius = 1 | |
255 | ouch = Instance.new("Model",char) ouch1 = Instance.new("Part",ouch) ouch1.CFrame = h.CFrame ouch1.Size = Vector3.new(.4,.4,.4) ouch1.CanCollide = false ouch1.Name = "Head" ouch.Name = "OW" ouch2 = Instance.new("Humanoid",ouch) ouch3 = Instance.new("Attachment",ouch1) ouch4 = Instance.new("BallSocketConstraint",ouch1) ouch4.Attachment0 = ouch3 ouch4.Attachment1 = h.FaceCenterAttachment | |
256 | end) | |
257 | ---------------- | |
258 | local a13 = Instance.new("Sound",t) a13.SoundId = "rbxassetid://723652641" a13.Looped = true a13.Volume = 0 a13:Play() | |
259 | local bochka = Instance.new("Sound",t) bochka.Looped = true bochka.SoundId = "rbxassetid://1287970292" bochka.Volume = 0 bochka:Play() | |
260 | local tripoloski = Instance.new("Sound",t) tripoloski.Looped = true tripoloski.SoundId = "rbxassetid://689628356" tripoloski.Volume = 0 tripoloski:Play() | |
261 | local cm = Instance.new("Sound",t) cm.Looped = true cm.EmitterSize = 30 cm.Volume = 0 cm.SoundId = "rbxassetid://213693358" cm:Play() | |
262 | hum.MaxHealth = "inf" hum.Health = "inf" ff = Instance.new("ForceField",char) ff.Visible = false char.Animate.idle.Animation2:Destroy() | |
263 | - | mus = Instance.new("Sound",t) mus.SoundId = "rbxassetid://689628356" mus.Volume = 5 mus.Looped = true mus:Play() |
263 | + | mus = Instance.new("Sound",t) mus.SoundId = "rbxassetid://689628356" mus.Volume = 10 mus.Looped = true mus:Play() |
264 | -------------- | |
265 | brda = Instance.new("Part",char) brda.Transparency = 1 brda.CanCollide = false brda.Size = Vector3.new(1.248, 1.264, 0.16) brdam = Instance.new("SpecialMesh",brda) brdam.Scale = Vector3.new(0.003, 0.003, 0.003) brdam.MeshType = "FileMesh" brdam.MeshId = "rbxassetid://1614924885" brdam.TextureId = "rbxassetid://1614940093" brdaw = Instance.new("Weld",ra) brdaw.Part0 = ra brdaw.Part1 = brda brdaw.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,3) brdaw.C0 = brdaw.C0 * CFrame.new(0,1.3,0) | |
266 | ------Uuhh... Idk-------- | |
267 | mouse.KeyDown:connect(function(key) | |
268 | if key == "q" and not using then | |
269 | using = true | |
270 | function die(hit) | |
271 | if hit.Parent ~= nil then | |
272 | local hum = hit.Parent:findFirstChildOfClass("Humanoid") | |
273 | if hum ~= nil then | |
274 | if hit.Parent == char then | |
275 | ||
276 | else | |
277 | hit:Destroy() | |
278 | end | |
279 | end | |
280 | end | |
281 | end | |
282 | aaa = Instance.new("Sound",t) aaa.SoundId = "rbxassetid://176238381" aaa.Volume = 2 aaa:Play() | |
283 | bread = Instance.new("Part",workspace) bread.CanCollide = false bread.Anchored = true bread.Position = mouse.Hit.p bread.CFrame = bread.CFrame * CFrame.new(0,30,0) bread.Size = Vector3.new(15.6, 15.8, 4) bread.Orientation = Vector3.new(90, 180, 0) | |
284 | bc = bread.Touched:connect(die) | |
285 | bmesh = Instance.new("SpecialMesh",bread) bmesh.MeshType = "FileMesh" bmesh.MeshId = "rbxassetid://1614924885" bmesh.TextureId = "rbxassetid://1614940093" bmesh.Scale = Vector3.new(0.035, 0.035, 0.035) | |
286 | hum.WalkSpeed = 0 hum.JumpPower = 0 | |
287 | for i = 1,10 do | |
288 | bread.CFrame = bread.CFrame * CFrame.new(0,0,3) | |
289 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
290 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
291 | rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
292 | lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
293 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
294 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
295 | wait() | |
296 | end | |
297 | for i = 1,30 do | |
298 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
299 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
300 | rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
301 | lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
302 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
303 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(1,1,1) | |
304 | wait() | |
305 | end | |
306 | aaa:Destroy() | |
307 | hum.WalkSpeed = 16 hum.JumpPower = 50 | |
308 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
309 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
310 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
311 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
312 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
313 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
314 | for i = 1,10 do | |
315 | bread.Transparency = bread.Transparency + .1 | |
316 | wait() | |
317 | end | |
318 | bread:Destroy() | |
319 | wait(.1) | |
320 | using = false | |
321 | end | |
322 | end) | |
323 | ----------Toast smash----------- | |
324 | mouse.KeyDown:connect(function(key) | |
325 | if key == "e" and not using then | |
326 | using = true | |
327 | function die(hit) | |
328 | if hit.Parent ~= nil then | |
329 | local hum = hit.Parent:findFirstChildOfClass("Humanoid") | |
330 | if hum ~= nil then | |
331 | if hit.Parent == char then | |
332 | ||
333 | else | |
334 | bd = Instance.new("Decal",hit) bd.Texture = "http://www.roblox.com/asset/?id=718043865" bd.Face = "Front" bd.Transparency = .5 | |
335 | bd1 = Instance.new("Decal",hit) bd1.Texture = "http://www.roblox.com/asset/?id=718043865" bd1.Face = "Back" bd1.Transparency = .5 | |
336 | bd2 = Instance.new("Decal",hit) bd2.Texture = "http://www.roblox.com/asset/?id=718043865" bd2.Face = "Right" bd2.Transparency = .5 | |
337 | bd3 = Instance.new("Decal",hit) bd3.Texture = "http://www.roblox.com/asset/?id=718043865" bd3.Face = "Left" bd3.Transparency = .5 | |
338 | bd4 = Instance.new("Decal",hit) bd4.Texture = "http://www.roblox.com/asset/?id=718043865" bd4.Face = "Bottom" bd4.Transparency = .5 | |
339 | bd5 = Instance.new("Decal",hit) bd5.Texture = "http://www.roblox.com/asset/?id=718043865" bd5.Face = "Top" bd5.Transparency = .5 | |
340 | bme = Instance.new("SpecialMesh",hit) bme.MeshType = "Brick" | |
341 | hit.Size = hit.Size * Vector3.new(1,.5,1) | |
342 | for i = 1,10 do | |
343 | hit.Transparency = hit.Transparency +.1 | |
344 | wait() | |
345 | end | |
346 | hit:Destroy() | |
347 | end | |
348 | end | |
349 | end | |
350 | end | |
351 | hum.WalkSpeed = 0 hum.JumpPower = 0 | |
352 | for i = 1,5 do | |
353 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.3,-.2,.6) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(-.3,.2,-.6) rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(-.07,0,0) rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.1) lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(0,0,.1) | |
354 | wait() | |
355 | end | |
356 | han = Instance.new("Part",workspace) han.Size = Vector3.new(2,2,1) han.Transparency = 1 han.CanCollide = false hw = Instance.new("Weld",han) hw.Part0 = han hw.Part1 = t | |
357 | mb = Instance.new("Part",workspace) mb.Transparency = 1 mb.CFrame = t.CFrame rut.Anchored = true mb.Size = Vector3.new(15.6, 15.8, 2) mm = Instance.new("SpecialMesh",mb) mm.MeshType = "FileMesh" mm.MeshId = "rbxassetid://1614924885" mm.TextureId = "rbxassetid://1614940093" mm.Scale = Vector3.new(0.035, 0.035, 0.035) mw = Instance.new("Weld",mb) mw.Part0 = mb mw.Part1 = han mw.C0 = mw.C0 * CFrame.new(0,-20,0) | |
358 | for i = 1,10 do | |
359 | mb.Transparency = mb.Transparency -.1 | |
360 | wait() | |
361 | end | |
362 | mc = mb.Touched:connect(die) | |
363 | for i = 1,5 do | |
364 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(.2,0,0) rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(0,0,.24) lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.24) hw.C0 = hw.C0 * CFrame.fromEulerAnglesXYZ(.18,0,0) hw.C0 = hw.C0 * CFrame.new(0,1.2,0) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.3,-.2,-.2) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(.3,-.1,.1) nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(.1,0,0) | |
365 | wait() | |
366 | end | |
367 | han:Destroy() mb.Anchored = true | |
368 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
369 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
370 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
371 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
372 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
373 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
374 | hum.WalkSpeed = 16 hum.JumpPower = 50 rut.Anchored = false | |
375 | wait(.5) | |
376 | mc:disconnect(die) | |
377 | wait(.5) | |
378 | for i = 1,10 do | |
379 | mb.Transparency = mb.Transparency +.1 | |
380 | wait() | |
381 | end | |
382 | mb:Destroy() | |
383 | wait(.1) | |
384 | using = false | |
385 | end | |
386 | end) | |
387 | -----------Slap---------- | |
388 | function slap() | |
389 | if mouse.Button1Down and not using then | |
390 | using = true | |
391 | function dmg(hit1) | |
392 | if hit1.Parent ~= nil then | |
393 | local hum = hit1.Parent:findFirstChildOfClass("Humanoid") | |
394 | local faic = hit1.Parent.Head:findFirstChildOfClass("Decal") | |
395 | if hum ~= nil then | |
396 | if hit1.Parent == char then | |
397 | ||
398 | else | |
399 | hum.MaxHealth = 100 | |
400 | hum.Health = hum.Health -5 | |
401 | hum.PlatformStand = true faic.Texture = "rbxassetid://1383895045" | |
402 | slap = Instance.new("Sound",brda) slap.Volume = 3 slap.SoundId = "rbxassetid://511340819" | |
403 | slap:Play() | |
404 | ogad = Instance.new("Weld",workspace) ogad.Part0 = hum.Parent.Torso ogad.Part1 = hum.Parent["Left Arm"] ogad.C0 = ogad.C0 * CFrame.fromEulerAnglesXYZ(0,0,4.7) ogad.C0 = ogad.C0 * CFrame.new(-.5,-2,0) ogad1 = Instance.new("Weld",workspace) ogad1.Part0 = hum.Parent.Torso ogad1.Part1 = hum.Parent["Right Arm"] ogad1.C0 = ogad1.C0 * CFrame.fromEulerAnglesXYZ(0,9.4,4.7) ogad1.C0 = ogad1.C0 * CFrame.new(-.5,-2,0) ogad2 = Instance.new("Weld",workspace) ogad2.Part0 = hum.Parent.Torso ogad2.Part1 = hum.Parent["Left Leg"] ogad2.C0 = ogad2.C0 * CFrame.new(-1,-1.6,0) ogad3 = Instance.new("Weld",workspace) ogad3.Part0 = hum.Parent.Torso ogad3.Part1 = hum.Parent["Right Leg"] ogad3.C0 = ogad3.C0 * CFrame.new(1,-1.6,0) | |
405 | ow = Instance.new("Decal",hum.Parent.Head) ow.Texture = "http://www.roblox.com/asset/?id=140321302" ow.Color3 = Color3.fromRGB(255,50,50) ow.Transparency = .5 | |
406 | oof = Instance.new("Weld",workspace) oof.Part0 = hum.Parent.Head oof.Part1 = hum.Parent.Torso oof.C0 = oof.C0 * CFrame.new(0,-1.5,0) oof.C0 = oof.C0 * CFrame.fromEulerAnglesXYZ(0,.5,0) | |
407 | wait(1) | |
408 | slap:Destroy() | |
409 | hum.WalkSpeed = 0 hum.JumpPower = 0 | |
410 | wait(4) | |
411 | hum.PlatformStand = false | |
412 | wait(3) | |
413 | hum.WalkSpeed = 16 hum.JumpPower = 50 | |
414 | end | |
415 | end | |
416 | end | |
417 | end | |
418 | brda.Transparency = 0 | |
419 | for i = 1,5 do | |
420 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,.3) | |
421 | wait() | |
422 | end | |
423 | for i = 1,5 do | |
424 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.25,0,0) | |
425 | wait() | |
426 | end | |
427 | brda.CanCollide = true | |
428 | dmgg = brda.Touched:connect(dmg) | |
429 | for i = 1,5 do | |
430 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.4,0,0) | |
431 | wait() | |
432 | end | |
433 | dmgg:disconnect(dmg) | |
434 | for i = 1,5 do | |
435 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.1,0,-.33) | |
436 | wait() | |
437 | end | |
438 | brda.Transparency = 1 | |
439 | brda.CanCollide = false | |
440 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
441 | using = false | |
442 | end | |
443 | end | |
444 | mouse.Button1Down:connect(slap) | |
445 | -------------Dead Sky---------- | |
446 | mouse.KeyDown:connect(function(key) | |
447 | if key == "t" and not using then | |
448 | using = true | |
449 | function die1(hit) | |
450 | if hit.Parent ~= nil then | |
451 | local hum = hit.Parent:findFirstChildOfClass("Humanoid") | |
452 | if hum ~= nil then | |
453 | hit:Destroy() | |
454 | end | |
455 | end | |
456 | end | |
457 | for i = 1,6 do | |
458 | mus.Volume = mus.Volume -.5 | |
459 | wait(.2) | |
460 | end | |
461 | hum.WalkSpeed = 70 hum.JumpPower = 120 | |
462 | hum.DisplayDistanceType = "None" hum.HealthDisplayType = "AlwaysOff" | |
463 | game.Lighting.TimeOfDay = 0 game.Lighting.FogColor = Color3.fromRGB(0,0,0) game.Lighting.FogEnd = 20 | |
464 | h.face.Transparency = 1 | |
465 | eh = Instance.new("Decal",h) eh.Texture = "http://www.roblox.com/asset/?id=1471407701" | |
466 | scm = Instance.new("Sound",workspace) scm.Volume = 1 scm.SoundId = "rbxassetid://1569907462" scm:Play() | |
467 | hewill = Instance.new("Sound",workspace) hewill.Pitch = .9 hewill.Volume = 10 hewill.SoundId = "rbxassetid://689176850" hewill:Play() | |
468 | for i = 1,70 do | |
469 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(0,.0125,0) | |
470 | wait() | |
471 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(0,-.00625,0) | |
472 | wait() | |
473 | end | |
474 | wait(4.4) | |
475 | lau = Instance.new("Sound",t) lau.SoundId = "rbxassetid://138085838" lau.Volume = 5 lau:Play() | |
476 | hum.WalkSpeed = 0 hum.JumpPower = 0 | |
477 | blid = Instance.new("Part",workspace) blid.Anchored = true blid.CanCollide = false blid.BrickColor = BrickColor.new("Crimson") blid.Material = "Neon" blid.Size = Vector3.new(1,.05,1) blid.CFrame = t.CFrame * CFrame.new(0,-2.85,0) bm = Instance.new("SpecialMesh",blid) bm.MeshType = "Sphere" | |
478 | for i = 1,15 do | |
479 | blid.Size = blid.Size + Vector3.new(1,0,1) | |
480 | rut.Anchored = true | |
481 | wait() | |
482 | end | |
483 | hewill:Destroy() | |
484 | wot = Instance.new("Part",workspace) wot.CanCollide = false wot.Transparency = 1 wot.Size = Vector3.new(1000, 1000, 60) wot.Anchored = true wot.CFrame = t.CFrame * CFrame.new(0,100,0) wot.CFrame = wot.CFrame * CFrame.fromEulerAnglesXYZ(4.7,0,0) wot.BrickColor = BrickColor.new("Crimson") wot.Material = "Glass" wot.Transparency = 1 li = Instance.new("SurfaceLight",wot) li.Angle = 180 li.Brightness = 100 li.Color = Color3.fromRGB(255,0,0) li.Range = 100 li.Face = "Front" wot.Name = "onoweded" hum.WalkSpeed = 0 hum.JumpPower = 0 | |
485 | dy3 = wot.Touched:connect(die1) | |
486 | for i = 1,5 do | |
487 | rutj.C0 = rutj.C0 * CFrame.new(0,0,-2.5) | |
488 | wot.Transparency = wot.Transparency -.14 | |
489 | wait() | |
490 | end | |
491 | for i = 1,15 do | |
492 | blid.Size = blid.Size - Vector3.new(1,0,1) | |
493 | wait() | |
494 | end | |
495 | blid.Transparency = 1 | |
496 | for i = 1,14 do | |
497 | wot.CFrame = wot.CFrame * CFrame.new(0,0,-2.5) | |
498 | wait(.1) | |
499 | end | |
500 | lau:Destroy() | |
501 | for i = 1,26 do | |
502 | wot.CFrame = wot.CFrame * CFrame.new(0,0,-2.5) | |
503 | wait(.1) | |
504 | end | |
505 | wait(1) | |
506 | blid.Transparency = 0 | |
507 | for i = 1,15 do | |
508 | blid.Size = blid.Size + Vector3.new(1,0,1) | |
509 | wait() | |
510 | end | |
511 | scm:Destroy() | |
512 | h.face.Transparency = 0 eh:Destroy() | |
513 | for i = 1,6 do | |
514 | mus.Volume = mus.Volume +.5 | |
515 | wait() | |
516 | end | |
517 | for i = 1,7 do | |
518 | wot.Transparency = wot.Transparency +.1 | |
519 | wait() | |
520 | end | |
521 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
522 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
523 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
524 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
525 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
526 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) rutj.C0 = rutj.C0 * CFrame.new(0,0,-10) | |
527 | hum.DisplayDistanceType = "Viewer" hum.HealthDisplayType = "DisplayWhenDamaged" | |
528 | for i = 1,5 do | |
529 | rutj.C0 = rutj.C0 * CFrame.new(0,0,2) | |
530 | wait() | |
531 | end | |
532 | rut.Anchored = false wot:Destroy() hum.WalkSpeed = 16 hum.JumpPower = 50 game.Lighting.TimeOfDay = 14 game.Lighting.FogColor = Color3.fromRGB(191,191,191) game.Lighting.FogEnd = 100000 | |
533 | for i = 1,10 do | |
534 | blid.Transparency = blid.Transparency +.1 | |
535 | wait(.05) | |
536 | end | |
537 | blid:Destroy() | |
538 | wait(.1) | |
539 | using = false | |
540 | end | |
541 | end) | |
542 | ----------------Bit Toast------------- | |
543 | mouse.KeyDown:connect(function(key) | |
544 | if key == "r" and not using and not eating then | |
545 | using = true | |
546 | eating = true | |
547 | for i = 1,10 do | |
548 | brda.Transparency = brda.Transparency -.1 | |
549 | wait() | |
550 | end | |
551 | hum.WalkSpeed = 0 hum.JumpPower = 0 | |
552 | for i = 1,10 do | |
553 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.1,.07,.15) brdaw.C0 = brdaw.C0 * CFrame.fromEulerAnglesXYZ(.2,.15,.2) | |
554 | wait() | |
555 | end | |
556 | wait(.5) | |
557 | crunch = Instance.new("Sound",brda) crunch.Volume = 5 crunch.SoundId = "rbxassetid://181027147" crunch:Play() | |
558 | piece = Instance.new("Part",workspace) piece.BrickColor = BrickColor.new("Wheat") piece.Size = Vector3.new(.1,.1,.1) piece.TopSurface = "Smooth" piece.BottomSurface = "Smooth" piece.CFrame = h.CFrame * CFrame.new(.1,0,-.4) | |
559 | piece1 = Instance.new("Part",workspace) piece1.BrickColor = BrickColor.new("Deep orange") piece1.Size = Vector3.new(.1,.1,.1) piece1.TopSurface = "Smooth" piece1.BottomSurface = "Smooth" piece1.CFrame = h.CFrame * CFrame.new(0,0,-.5) | |
560 | piece2 = Instance.new("Part",workspace) piece2.BrickColor = BrickColor.new("Wheat") piece2.Size = Vector3.new(.1,.1,.1) piece2.TopSurface = "Smooth" piece2.BottomSurface = "Smooth" piece2.CFrame = h.CFrame * CFrame.new(0,.05,-.5) | |
561 | piece3 = Instance.new("Part",workspace) piece3.BrickColor = BrickColor.new("Wheat") piece3.Size = Vector3.new(.1,.1,.1) piece3.TopSurface = "Smooth" piece3.BottomSurface = "Smooth" piece3.CFrame = h.CFrame * CFrame.new(-.1,.1,-.6) | |
562 | piece4 = Instance.new("Part",workspace) piece4.BrickColor = BrickColor.new("Wheat") piece4.Size = Vector3.new(.1,.1,.1) piece4.TopSurface = "Smooth" piece4.BottomSurface = "Smooth" piece4.CFrame = h.CFrame * CFrame.new(-.1,.1,-.6) | |
563 | for i = 1,2 do | |
564 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(.1,0,0) | |
565 | wait() | |
566 | end | |
567 | happy = Instance.new("Decal",h) happy.Texture = "http://www.roblox.com/asset/?id=258591579" h.face.Transparency = 1 | |
568 | wait(.07) | |
569 | for i = 1,10 do | |
570 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.1,-.07,-.15) brdaw.C0 = brdaw.C0 * CFrame.fromEulerAnglesXYZ(-.2,-.15,-.2) | |
571 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(-.02,0,0) | |
572 | wait() | |
573 | end | |
574 | for i = 1,10 do | |
575 | brda.Transparency = brda.Transparency +.1 | |
576 | wait() | |
577 | end | |
578 | crunch:Destroy() hum.WalkSpeed = 40 hum.JumpPower = 80 | |
579 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) brdaw.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,3) brdaw.C0 = brdaw.C0 * CFrame.new(0,1.3,0) | |
580 | wait(.1) | |
581 | using = false | |
582 | for i = 1,10 do | |
583 | hum.WalkSpeed = 40 hum.JumpPower = 80 | |
584 | wait(.5) | |
585 | end | |
586 | for i = 1,10 do | |
587 | piece.Transparency = piece.Transparency +.1 | |
588 | piece1.Transparency = piece1.Transparency +.1 | |
589 | piece2.Transparency = piece2.Transparency +.1 | |
590 | piece3.Transparency = piece3.Transparency +.1 | |
591 | piece4.Transparency = piece4.Transparency +.1 | |
592 | wait() | |
593 | end | |
594 | piece:Destroy() piece1:Destroy() piece2:Destroy() piece3:Destroy() piece4:Destroy() | |
595 | for i = 1,30 do | |
596 | hum.WalkSpeed = 40 hum.JumpPower = 80 | |
597 | wait(.5) | |
598 | end | |
599 | happy:Destroy() h.face.Transparency = 0 | |
600 | hum.WalkSpeed = 16 hum.JumpPower = 50 | |
601 | eating = false | |
602 | end | |
603 | end) | |
604 | -------------Sit-------------- | |
605 | mouse.KeyDown:connect(function(key) | |
606 | if key == "z" and not using then | |
607 | hum.WalkSpeed = 0 hum.JumpPower = 0 | |
608 | rutj.C0 = rutj.C0 * CFrame.new(0,0,-1.9) | |
609 | rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(0,-.2,.8) rh.C0 = rh.C0 * CFrame.new(1,.4,0) | |
610 | lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(0,.1,-1.5) lh.C0 = lh.C0 * CFrame.new(-.3,0,0) | |
611 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,1,1) | |
612 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(0,-.5,-.7) | |
613 | end | |
614 | end) | |
615 | mouse.KeyUp:connect(function(key) | |
616 | if key == "z" and not using then | |
617 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
618 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
619 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
620 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
621 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
622 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
623 | hum.WalkSpeed = 16 hum.JumpPower = 50 | |
624 | end | |
625 | end) | |
626 | -------------Punch------------- | |
627 | mouse.KeyDown:connect(function(key) | |
628 | if key == "f" and not using then | |
629 | using = true | |
630 | function punch(hit) | |
631 | if hit.Parent ~= nil then | |
632 | local huma = hit.Parent:findFirstChildOfClass("Humanoid") | |
633 | if hum ~= nil then | |
634 | ow = Instance.new("Sound",hit.Parent.Head) ow.Volume = 3 ow.SoundId = "rbxassetid://743886825" ow:Play() | |
635 | huma.MaxHealth = 100 huma.PlatformStand = true | |
636 | huma:TakeDamage(math.random(1,5)) | |
637 | huma.Health = huma.Health -0 | |
638 | blud = Instance.new("Part",hit.Parent.Head) blud.Material = "Glass" blud.Shape = "Ball" blud.Size = Vector3.new(.25,.25,.25) blud.BrickColor = BrickColor.new("Crimson") blud.CFrame = hit.Parent.Head.CFrame bludm = Instance.new("SpecialMesh",blud) bludm.MeshType = "Brick" | |
639 | wait(3) | |
640 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
641 | if v:IsA("Part") then | |
642 | v.Transparency = v.Transparency +.1 | |
643 | wait(.1) | |
644 | end | |
645 | end | |
646 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
647 | if v:IsA("Part") then | |
648 | v:Destroy() | |
649 | wait() | |
650 | end | |
651 | end | |
652 | ow:Destroy() huma.PlatformStand = false | |
653 | end | |
654 | end | |
655 | end | |
656 | hb = Instance.new("Part",ra) hb.Size = Vector3.new(1,1,1) hbw = Instance.new("Weld",hb) hb.Transparency = 1 hbw.Part0 = ra hbw.Part1 = hb hbw.C0 = hbw.C0 * CFrame.new(0,-.5,0) | |
657 | for i = 1,5 do | |
658 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.1) | |
659 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,.3) | |
660 | wait() | |
661 | end | |
662 | hb.Touched:connect(punch) | |
663 | wait(.2) | |
664 | for i = 1,5 do | |
665 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,.3) | |
666 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.16,0,0) | |
667 | wait() | |
668 | end | |
669 | for i,v in pairs(ra:GetChildren()) do | |
670 | if v:IsA("Part") then | |
671 | v:Destroy() | |
672 | end | |
673 | end | |
674 | for i = 1,10 do | |
675 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.1) | |
676 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.154) | |
677 | wait() | |
678 | end | |
679 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,3.145,0) | |
680 | wait(.1) | |
681 | using = false | |
682 | end | |
683 | end) | |
684 | -------Teleport-------- | |
685 | mouse.KeyDown:connect(function(key) | |
686 | if key == "x" then | |
687 | t.CFrame = mouse.Hit * CFrame.new(0,2.5,0) | |
688 | end | |
689 | end) | |
690 | ---------FINISH HIM--------- | |
691 | mouse.KeyDown:connect(function(key) | |
692 | if key == "g" and not using then | |
693 | using = true | |
694 | function awa(hit) | |
695 | if hit.Parent ~= nil then | |
696 | local humn = hit.Parent:findFirstChildOfClass("Humanoid") | |
697 | if humn ~= nil then | |
698 | if humn.PlatformStand == true then | |
699 | ow1 = Instance.new("Sound",hit.Parent.Head) ow1.Volume = 3 ow1.SoundId = "rbxassetid://743886825" ow1:Play() humn.Health = 0 | |
700 | for i = 1,10 do | |
701 | blud1 = Instance.new("Part",hit.Parent.Head) blud1.Material = "Glass" blud1.CFrame = hit.Parent.Head.CFrame blud1.Size = Vector3.new(.25,.25,.25) blud1.BrickColor = BrickColor.new("Crimson") blud1.Shape = "Ball" blud1m = Instance.new("SpecialMesh",blud1) blud1m.MeshType = "Brick" | |
702 | end | |
703 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
704 | if v:IsA("Part") then | |
705 | v.Transparency = v.Transparency +.1 | |
706 | wait(.1) | |
707 | end | |
708 | end | |
709 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
710 | if v:IsA("Part") then | |
711 | v:Destroy() | |
712 | wait() | |
713 | end | |
714 | end | |
715 | for i = 1,50 do | |
716 | humn.Health = 0 | |
717 | wait() | |
718 | end | |
719 | ow1:Destroy() | |
720 | end | |
721 | end | |
722 | end | |
723 | end | |
724 | for i = 1,5 do | |
725 | rh.C0 = rh.C0 * CFrame.new(.17,.25,0) rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(-.03,0,0) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.1,0.04,.17) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(-0.1,-.04,-.17) lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(0,0,.05) | |
726 | wait() | |
727 | end | |
728 | hitbox = Instance.new("Part",rl) hitbox.Size = Vector3.new(1,1,1) hitbox.Transparency = 1 hw = Instance.new("Weld",hitbox) hw.Part0 = rl hw.Part1 = hitbox hw.C0 = hw.C0 * CFrame.new(0,-.5,0) | |
729 | wait(.3) | |
730 | hc = hitbox.Touched:connect(awa) | |
731 | for i = 1,5 do | |
732 | rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(0,0,.03) | |
733 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(.1,0,0) | |
734 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(.1,0,0) | |
735 | rh.C0 = rh.C0 * CFrame.new(0,-.25,0) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.34) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(0,0,.34) | |
736 | wait() | |
737 | end | |
738 | for i,v in pairs(rl:GetChildren()) do | |
739 | if v:IsA("Part") then | |
740 | v:Destroy() | |
741 | end | |
742 | end | |
743 | for i = 1,5 do | |
744 | rh.C0 = rh.C0 * CFrame.new(-.17,0,0) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.1,0,.17) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(.1,0,-.17) rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(-.08,0,0) nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(-.1,0,0) | |
745 | wait() | |
746 | end | |
747 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
748 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
749 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
750 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
751 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
752 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
753 | wait(.1) | |
754 | using = false | |
755 | end | |
756 | end) | |
757 | ----------Crouch------------ | |
758 | mouse.KeyDown:connect(function(key) | |
759 | if key == "c" and not using then | |
760 | hum.WalkSpeed = 7 hum.JumpPower = 20 | |
761 | rutj.C0 = rutj.C0 * CFrame.new(0,0,-1) rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(.5,0,0) | |
762 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(-.4,0,0) | |
763 | rh.C0 = rh.C0 * CFrame.new(.6,1,0) rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(0,0,.3) | |
764 | lh.C0 = lh.C0 * CFrame.new(-.6,1,0) lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.33) | |
765 | for i,v in pairs(char:GetChildren()) do | |
766 | if v:IsA("Accessory") then | |
767 | v.Handle.Transparency = .8 | |
768 | end | |
769 | end | |
770 | ra.Transparency = .8 la.Transparency = .8 rl.Transparency = .8 ll.Transparency = .8 t.Transparency = .8 h.Transparency = .8 h.face.Transparency = .8 | |
771 | end | |
772 | end) | |
773 | mouse.KeyUp:connect(function(key) | |
774 | if key == "c" and not using then | |
775 | for i,v in pairs(char:GetChildren()) do | |
776 | if v:IsA("Accessory") then | |
777 | v.Handle.Transparency = 0 | |
778 | end | |
779 | end | |
780 | ra.Transparency = 0 la.Transparency = 0 rl.Transparency = 0 ll.Transparency = 0 t.Transparency = 0 h.Transparency = 0 h.face.Transparency = 0 | |
781 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
782 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
783 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
784 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
785 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
786 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
787 | hum.WalkSpeed = 16 hum.JumpPower = 50 | |
788 | end | |
789 | end) | |
790 | ------------CrUnCh------------ | |
791 | mouse.KeyDown:connect(function(key) | |
792 | if key == "v" and not using then | |
793 | using = true | |
794 | local bric = Instance.new("Part",char) bric.Name = "g0 d13 n00b" bric.Size = Vector3.new(4,6,4) bric.CanCollide = false bric.Transparency = 1 local bricw = Instance.new("Weld",bric) bricw.Part0 = t bricw.Part1 = bric | |
795 | function smash(hit) | |
796 | if hit.Parent ~= nil then | |
797 | local bitc = hit.Parent:FindFirstChildOfClass("Humanoid") | |
798 | if bitc ~= nil then | |
799 | if hit.Parent == char then | |
800 | ||
801 | else | |
802 | local n00b = hit.Parent | |
803 | bric:Destroy() | |
804 | for i = 1,5 do | |
805 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.1) | |
806 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.1,-.25,.35) | |
807 | wait() | |
808 | end | |
809 | wait(.4) | |
810 | rut.Anchored = true | |
811 | local prt = Instance.new("Part",ra) prt.Size = Vector3.new(1,1,1) prt.Transparency = 1 local pw = Instance.new("Weld",prt) pw.Part0 = ra pw.Part1 = prt pw.C0 = pw.C0 * CFrame.new(0,.5,0) | |
812 | local hw = Instance.new("Weld",prt) hw.Part0 = prt hw.Part1 = n00b.Head hw.C0 = hw.C0 * CFrame.new(0,-1.5,-2) * CFrame.fromEulerAnglesXYZ(1.55,0,3.1) | |
813 | for i = 1,2 do | |
814 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,1) | |
815 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,.5,.2) | |
816 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(0,.2,-.45) | |
817 | wait() | |
818 | end | |
819 | wait(1.5) | |
820 | for i = 1,10 do | |
821 | local bred = Instance.new("Part",n00b.Head) bred.Size = Vector3.new(0.624, 0.632, 0.08) | |
822 | local brd = Instance.new("SpecialMesh",bred) brd.MeshType = "FileMesh" brd.MeshId = "rbxassetid://1614924885" brd.TextureId = "rbxassetid://1614940093" brd.Scale = Vector3.new(0.002,0.002,0.002) | |
823 | bred.CFrame = n00b.Head.CFrame | |
824 | end | |
825 | local pe = Instance.new("ParticleEmitter",n00b.Head) pe.Color = ColorSequence.new(Color3.fromRGB(255,200,200)) pe.Acceleration = Vector3.new(0,-5,0) pe.Texture = "http://www.roblox.com/asset/?id=1450282643" pe.SpreadAngle = Vector2.new(180,180) pe.Rate = 100 | |
826 | local pe1 = Instance.new("ParticleEmitter",n00b.Head) pe1.Color = ColorSequence.new(Color3.fromRGB(255,200,200)) pe1.Acceleration = Vector3.new(0,-5,0) pe1.Texture = "http://www.roblox.com/asset/?id=1450282643" pe1.SpreadAngle = Vector2.new(180,180) pe1.Rate = 100 | |
827 | local cru = Instance.new("Sound",t) cru.SoundId = "rbxassetid://181027147" cru.Volume = 10 cru:Play() | |
828 | local chunch = Instance.new("Sound",t) chunch.SoundId = "rbxassetid://618667795" chunch.Volume = 2 chunch:Play() | |
829 | rut.Anchored = false | |
830 | prt:Destroy() | |
831 | n00b:BreakJoints() | |
832 | for i,v in pairs(n00b:GetChildren()) do | |
833 | if v:IsA("Part") then | |
834 | v.BrickColor = BrickColor.new("Wheat") | |
835 | v.Transparency = .2 v.Material = "Glass" | |
836 | v.Anchored = false | |
837 | local dec = v:FindFirstChildOfClass("Decal") | |
838 | if dec ~= nil then | |
839 | dec:Destroy() | |
840 | end | |
841 | local mec = v:FindFirstChildOfClass("SpecialMesh") | |
842 | if mec ~= nil then | |
843 | mec:Destroy() | |
844 | end | |
845 | end | |
846 | end | |
847 | for i,v in pairs(n00b:GetChildren()) do | |
848 | if v:IsA("Accessory") or ("Hat") then | |
849 | local pt = v:FindFirstChildOfClass("Part") | |
850 | if pt ~= nil then | |
851 | pt.Anchored = false | |
852 | pt.Transparency = .3 pt.BrickColor = BrickColor.new("Wheat") | |
853 | pt.Material = "Glass" pt.CanCollide = true | |
854 | local smh = pt:FindFirstChildOfClass("SpecialMesh") | |
855 | if smh ~= nil then | |
856 | smh.TextureId = "" | |
857 | end | |
858 | end | |
859 | end | |
860 | end | |
861 | for i,v in pairs(n00b:GetChildren()) do | |
862 | if v:IsA("MeshPart") then | |
863 | v.Anchored = false | |
864 | v.BrickColor = BrickColor.new("Wheat") | |
865 | v.Transparency = .2 v.Material = "Glass" | |
866 | local dec = v:FindFirstChildOfClass("Decal") | |
867 | if dec ~= nil then | |
868 | dec:Destroy() | |
869 | end | |
870 | end | |
871 | end | |
872 | for i,v in pairs(n00b:GetChildren()) do | |
873 | if v:IsA("Script") then | |
874 | v:Destroy() | |
875 | end | |
876 | end | |
877 | for i,v in pairs(n00b:GetChildren()) do | |
878 | if v:IsA("Humanoid") then | |
879 | v:Destroy() | |
880 | end | |
881 | end | |
882 | for i,v in pairs(n00b:GetChildren()) do | |
883 | if v:IsA("CharacterMesh") then | |
884 | v:Destroy() | |
885 | end | |
886 | end | |
887 | for i,v in pairs(n00b:GetChildren()) do | |
888 | if v:IsA("Shirt") then | |
889 | v:Destroy() | |
890 | end | |
891 | end | |
892 | for i,v in pairs(n00b:GetChildren()) do | |
893 | if v:IsA("Pants") then | |
894 | v:Destroy() | |
895 | end | |
896 | end | |
897 | for i,v in pairs(n00b:GetChildren()) do | |
898 | if v:IsA("Part") and v:IsA("SpecialMesh") then | |
899 | v.Transparency = .5 v.CanCollide = true | |
900 | v.Name = "nub" v.BrickColor = BrickColor.new("Wheat") | |
901 | v.Mesh.TextureId = "" | |
902 | end | |
903 | end | |
904 | wait(.3) | |
905 | pe.Enabled = false | |
906 | pe1.Enabled = false | |
907 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
908 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
909 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
910 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
911 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
912 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
913 | wait(2) | |
914 | chunch:Destroy() cru:Destroy() | |
915 | n00b:Destroy() | |
916 | end | |
917 | end | |
918 | end | |
919 | end | |
920 | bric.Touched:connect(smash) | |
921 | wait(3) | |
922 | bric:Destroy() | |
923 | using = false | |
924 | end | |
925 | end) | |
926 | --------Cut the throat--------- | |
927 | mouse.KeyDown:connect(function(key) | |
928 | if key == "h" and not using then | |
929 | local hum1 = mouse.Target.Parent:findFirstChildOfClass("Humanoid") | |
930 | if hum1 ~= nil then | |
931 | char.Animate.Disabled = true | |
932 | for i,v in pairs(hum1.Parent:GetChildren()) do | |
933 | if v:IsA("LocalScript") then | |
934 | v:Destroy() | |
935 | end | |
936 | end | |
937 | for i,v in pairs(hum1.Parent:GetChildren()) do | |
938 | if v:IsA("Script") then | |
939 | v:Destroy() | |
940 | end | |
941 | end | |
942 | disshit = hum1.Parent | |
943 | h1 = hum1.Parent.Head | |
944 | t1 = hum1.Parent.Torso | |
945 | ra1 = hum1.Parent["Right Arm"] | |
946 | la1 = hum1.Parent["Left Arm"] | |
947 | rl1 = hum1.Parent["Right Leg"] | |
948 | ll1 = hum1.Parent["Left Leg"] | |
949 | hum1.WalkSpeed = 0 hum1.JumpPower = 0 hum1.Parent.Head.Anchored = true hum.WalkSpeed = 0 hum.JumpPower = 0 | |
950 | t.CFrame = hum1.Parent.Head.CFrame * CFrame.new(0,-1.5,-2.5) t.CFrame = t.CFrame * CFrame.fromEulerAnglesXYZ(0,3.1,0) | |
951 | knife = Instance.new("Part",ra) knife.Size = Vector3.new(0.2, 3, 0.7) km = Instance.new("SpecialMesh",knife) km.MeshType = "FileMesh" km.MeshId = "http://www.roblox.com/asset/?id=121944778" km.TextureId = "http://www.roblox.com/asset/?id=161971611" kw = Instance.new("Weld",knife) kw.Part0 = knife kw.Part1 = ra kw.C0 = kw.C0 * CFrame.new(0,-.6,1) kw.C0 = kw.C0 * CFrame.fromEulerAnglesXYZ(1.5,3,0) | |
952 | rut.Anchored = true | |
953 | for i = 1,5 do | |
954 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.1) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.3,0,0) | |
955 | wait() | |
956 | end | |
957 | bb = Instance.new("BillboardGui",char) | |
958 | bb.AlwaysOnTop = false | |
959 | bb.Size = UDim2.new(5,35,2,15) | |
960 | bb.StudsOffset = Vector3.new(4,0,0) | |
961 | bb.MaxDistance = 75 | |
962 | bb.Adornee = h | |
963 | bb.Name = "Name" | |
964 | label = Instance.new("TextLabel",bb) | |
965 | label.BackgroundTransparency = 1 | |
966 | label.TextScaled = true | |
967 | label.BorderSizePixel = 0 | |
968 | label.Text = "Be Gone... " ..disshit.Name | |
969 | label.Font = "Cartoon" | |
970 | label.TextSize = 20 | |
971 | label.TextStrokeTransparency = 0 | |
972 | label.TextColor3 = Color3.new(1,1,1) | |
973 | label.TextStrokeColor3 = Color3.fromRGB(255,150,0) | |
974 | label.Size = UDim2.new(1,0,0.5,0) | |
975 | label.Parent = bb | |
976 | for i = 1,10 do | |
977 | bb.StudsOffset = bb.StudsOffset +Vector3.new(0,.2,0) | |
978 | label.TextTransparency = label.TextTransparency +.1 | |
979 | label.TextStrokeTransparency = label.TextStrokeTransparency +.1 | |
980 | wait(.07) | |
981 | end | |
982 | for i,v in pairs(char:GetChildren()) do | |
983 | if v:IsA("BillboardGui") then | |
984 | v:Destroy() | |
985 | end | |
986 | end | |
987 | for i = 1,3 do | |
988 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,.3) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,.6) | |
989 | wait() | |
990 | end | |
991 | hum1.Health = 0.1 hum1.MaxHealth = 100 | |
992 | stab = Instance.new("Sound",h1) stab.TimePosition = .3 stab.SoundId = "rbxassetid://1386772138" stab.Volume = 3 stab:Play() | |
993 | hum1.PlatformStand = true | |
994 | hum1.Parent.Head.Anchored = false | |
995 | for i,v in pairs(t1:GetChildren()) do | |
996 | if v:IsA("Motor6D") then | |
997 | v:Destroy() | |
998 | end | |
999 | end | |
1000 | for i,v in pairs(h1:GetChildren()) do | |
1001 | if v:IsA("Decal") then | |
1002 | v:Destroy() | |
1003 | end | |
1004 | end | |
1005 | aaaaa = Instance.new("Sound",h1) aaaaa.SoundId = "rbxassetid://393884633" aaaaa.Volume = 3 aaaaa:Play() | |
1006 | disshit:BreakJoints() | |
1007 | ooww = Instance.new("Decal",h1) ooww.Texture = "http://www.roblox.com/asset/?id=1253783230" | |
1008 | at2 = Instance.new("Attachment",t1) at2.Position = Vector3.new(1,.8,0) at2.Position = Vector3.new(1,.8,0) | |
1009 | at = Instance.new("Attachment",ra1) at.Name = "oof" at.Position = Vector3.new(-.5,.8,0) | |
1010 | balls = Instance.new("BallSocketConstraint",ra1) balls.Attachment0 = at2 balls.Attachment1 = at | |
1011 | at21 = Instance.new("Attachment",t1) at21.Position = Vector3.new(-1,.8,0) at21.Position = Vector3.new(-1,.8,0) at21.Orientation = Vector3.new(0,180,0) | |
1012 | at1 = Instance.new("Attachment",la1) at.Name = "oof" at1.Position = Vector3.new(.5,.8,0) | |
1013 | balls1 = Instance.new("BallSocketConstraint",la1) balls1.Attachment0 = at21 balls1.Attachment1 = at1 | |
1014 | nek = Instance.new("Attachment",h1) nek2 = Instance.new("Attachment",t1) nek2.Position = Vector3.new(0,1,0) nek.Position = Vector3.new(0,-.5,0) nball = Instance.new("BallSocketConstraint",h1) nball.Attachment0 = nek nball.Attachment1 = nek2 | |
1015 | owihatedis = Instance.new("Attachment",t1) owihatedis.Position = Vector3.new(.6,-1,0) oihd = Instance.new("Attachment",rl1) oihd.Position = Vector3.new(.1,1,0) oww = Instance.new("BallSocketConstraint",rl1) oww.Attachment0 = owihatedis oww.Attachment1 = oihd | |
1016 | owihatedis2 = Instance.new("Attachment",t1) owihatedis2.Position = Vector3.new(-.6,-1,0) oihd2 = Instance.new("Attachment",ll1) oihd2.Position = Vector3.new(-.1,1,0) oww2 = Instance.new("BallSocketConstraint",ll1) oww2.Attachment0 = owihatedis2 oww2.Attachment1 = oihd2 | |
1017 | box = Instance.new("Part",ra1) box.Size = Vector3.new(1,1,1) box.Transparency = 1 | |
1018 | box1 = Instance.new("Part",la1) box1.Size = Vector3.new(1,1,1) box1.Transparency = 1 | |
1019 | box2 = Instance.new("Part",rl1) box2.Size = Vector3.new(1,1,1) box2.Transparency = 1 | |
1020 | box3 = Instance.new("Part",ll1) box3.Size = Vector3.new(1,1,1) box3.Transparency = 1 | |
1021 | box4 = Instance.new("Part",t1) box4.Size = t.Size - Vector3.new(0,.2,0) box4.Transparency = 1 | |
1022 | bw = Instance.new("Weld",box) bw.Part0 = box bw.Part1 = ra1 bw.C0 = bw.C0 * CFrame.new(0,.5,0) | |
1023 | bw1 = Instance.new("Weld",box1) bw1.Part0 = box1 bw1.Part1 = la1 bw1.C0 = bw1.C0 * CFrame.new(0,.5,0) | |
1024 | bw2 = Instance.new("Weld",box2) bw2.Part0 = box2 bw2.Part1 = rl1 bw2.C0 = bw2.C0 * CFrame.new(0,.5,0) | |
1025 | bw3 = Instance.new("Weld",box3) bw3.Part0 = box3 bw3.Part1 = ll1 bw3.C0 = bw3.C0 * CFrame.new(0,.5,0) | |
1026 | bw4 = Instance.new("Weld",box4) bw4.Part0 = box4 bw4.Part1 = t1 bw4.C0 = bw4.C0 * CFrame.new(0,.2,0) | |
1027 | for i = 1,2 do | |
1028 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,.3) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,.4) | |
1029 | wait() | |
1030 | end | |
1031 | end | |
1032 | char.Animate.Disabled = false | |
1033 | rut.Anchored = false | |
1034 | hum.WalkSpeed = 16 hum.JumpPower = 50 | |
1035 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,3.145,0) knife:Destroy() | |
1036 | for i = 1,10 do | |
1037 | blood = Instance.new("Part",h1) blood.Size = Vector3.new(3,3,.01) blood.BrickColor = BrickColor.new("Crimson") blood.TopSurface = "Smooth" blood.BottomSurface = "Smooth" blood.Material = "Glass" blood.CFrame = h1.CFrame * CFrame.new(0,-.5,-.6) bloodm = Instance.new("SpecialMesh",blood) bloodm.MeshType = "Sphere" | |
1038 | wait(.2) | |
1039 | end | |
1040 | wait(1) | |
1041 | for i = 1,10 do | |
1042 | h1.Transparency = h1.Transparency +.1 | |
1043 | t1.Transparency =t1.Transparency +.1 | |
1044 | ra1.Transparency = ra1.Transparency +.1 | |
1045 | la1.Transparency =la1.Transparency +.1 | |
1046 | rl1.Transparency = rl1.Transparency +.1 | |
1047 | ll1.Transparency = ll1.Transparency +.1 | |
1048 | wait(.05) | |
1049 | end | |
1050 | disshit:Destroy() | |
1051 | bb = Instance.new("BillboardGui",char) | |
1052 | bb.AlwaysOnTop = false | |
1053 | bb.Size = UDim2.new(5,35,2,15) | |
1054 | bb.StudsOffset = Vector3.new(4,0,0) | |
1055 | bb.MaxDistance = 75 | |
1056 | bb.Adornee = h | |
1057 | bb.Name = "Name" | |
1058 | label = Instance.new("TextLabel",bb) | |
1059 | label.BackgroundTransparency = 1 | |
1060 | label.TextScaled = true | |
1061 | label.BorderSizePixel = 0 | |
1062 | label.Text = disshit.Name.. " Is Gone..." | |
1063 | label.Font = "Cartoon" | |
1064 | label.TextSize = 20 | |
1065 | label.TextStrokeTransparency = 0 | |
1066 | label.TextColor3 = Color3.new(1,1,1) | |
1067 | label.TextStrokeColor3 = Color3.fromRGB(255,150,0) | |
1068 | label.Size = UDim2.new(1,0,0.5,0) | |
1069 | label.Parent = bb | |
1070 | for i = 1,10 do | |
1071 | bb.StudsOffset = bb.StudsOffset +Vector3.new(0,.2,0) | |
1072 | label.TextTransparency = label.TextTransparency +.1 | |
1073 | label.TextStrokeTransparency = label.TextStrokeTransparency +.1 | |
1074 | wait(.07) | |
1075 | end | |
1076 | for i,v in pairs(char:GetChildren()) do | |
1077 | if v:IsA("BillboardGui") then | |
1078 | v:Destroy() | |
1079 | end | |
1080 | end | |
1081 | end | |
1082 | end) | |
1083 | -------Throw Toast(Can eat)-------- | |
1084 | mouse.KeyDown:connect(function(key) | |
1085 | if key == "y" and not using then | |
1086 | function eat(toch) | |
1087 | if toch.Parent ~= nil then | |
1088 | local humt = toch.Parent:findFirstChildOfClass("Humanoid") | |
1089 | if humt ~= nil then | |
1090 | local hed = humt.Parent.Head | |
1091 | toast:Destroy() | |
1092 | humt.Health = humt.Health +20 humt.WalkSpeed = humt.WalkSpeed +5 humt.JumpPower = humt.JumpPower +5 | |
1093 | yum = Instance.new("Sound",hed) yum.Volume = 8 yum.SoundId = "rbxassetid://181027147" yum:Play() | |
1094 | wait(1) | |
1095 | yum:Destroy() | |
1096 | wait(10) | |
1097 | humt.WalkSpeed = humt.WalkSpeed -5 humt.JumpPower = humt.JumpPower -5 | |
1098 | end | |
1099 | end | |
1100 | end | |
1101 | toast = Instance.new("Part",workspace) toast.Name = "EATMEBITC" toast.Size = Vector3.new(1.248, 1.264, 0.16) tm = Instance.new("SpecialMesh",toast) tm.Scale = Vector3.new(0.003, 0.003, 0.003) tm.MeshType = "FileMesh" tm.MeshId = "rbxassetid://1614924885" tm.TextureId = "rbxassetid://1614940093" tw = Instance.new("Weld",brda) tw.Name = "wuild" tw.Part0 = toast tw.Part1 = brda | |
1102 | for i = 1,5 do | |
1103 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.2,-.2,.2) | |
1104 | wait() | |
1105 | end | |
1106 | wait(.3) | |
1107 | for i = 1,2 do | |
1108 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.2,0,.1) | |
1109 | wait() | |
1110 | end | |
1111 | for i,v in pairs(brda:GetChildren()) do | |
1112 | if v:IsA("Weld") then | |
1113 | v:Destroy() | |
1114 | end | |
1115 | end | |
1116 | toast.Touched:connect(eat) | |
1117 | for i = 1,5 do | |
1118 | toast.CFrame = toast.CFrame * CFrame.new(0,1,1) | |
1119 | wait() | |
1120 | end | |
1121 | for i = 1,3 do | |
1122 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.2,0,.1) | |
1123 | wait() | |
1124 | end | |
1125 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
1126 | end | |
1127 | end) | |
1128 | ------Summon Explosion------ | |
1129 | ALLAHU_AKBAR = false | |
1130 | mouse.KeyDown:connect(function(key) | |
1131 | if key == "b" and not using and not ALLAHU_AKBAR then | |
1132 | using = true | |
1133 | ALLAHU_AKBAR = true | |
1134 | local bum = Instance.new("Part",workspace) bum.CFrame = mouse.Hit bum.TopSurface = "Smooth" bum.BottomSurface = "Smooth" bum.Material = "Neon" bum.BrickColor = BrickColor.new("Deep orange") bum.Transparency = 1 bum.Shape = "Ball" bum.Size = Vector3.new(50,50,50) bum.CanCollide = false bum.Anchored = true | |
1135 | function aa(hit) | |
1136 | if hit.Parent ~= nil then | |
1137 | local humta = hit.Parent:findFirstChildOfClass("Humanoid") | |
1138 | if humta ~= nil then | |
1139 | if hit.Parent == char then | |
1140 | ||
1141 | else | |
1142 | local datbitc = hit.Parent humta.DisplayDistanceType = "None" | |
1143 | hit.Transparency = 1 hit.Anchored = true | |
1144 | for i,v in pairs(datbitc:GetChildren()) do | |
1145 | if v:IsA("Accessory") then | |
1146 | v:Destroy() | |
1147 | end | |
1148 | end | |
1149 | datbitc.Head.CFrame = bum.CFrame | |
1150 | humta.Parent.Head.Anchored = true | |
1151 | wait(1.4) | |
1152 | datbitc:Destroy() | |
1153 | end | |
1154 | end | |
1155 | end | |
1156 | end | |
1157 | bum.Touched:connect(aa) | |
1158 | local tweens = game:GetService("TweenService") | |
1159 | local tweeni = TweenInfo.new( | |
1160 | 1, | |
1161 | Enum.EasingStyle.Bounce, | |
1162 | Enum.EasingDirection.Out, | |
1163 | 0, | |
1164 | true, | |
1165 | 0 | |
1166 | ) | |
1167 | local size = {Size = Vector3.new(5,5,5), Transparency = 0,Color = Color3.fromRGB(255,0,0)} | |
1168 | local tsize = tweens:Create(bum,tweeni,size) | |
1169 | tsize:Play() | |
1170 | wait(1.4) | |
1171 | local bs = Instance.new("Sound",bum) bs.SoundId = "rbxassetid://144699494" bs.Volume = 10 bs:Play() | |
1172 | wait(1.7) | |
1173 | bum:Destroy() | |
1174 | using = false | |
1175 | wait(5) | |
1176 | local uf = Instance.new("Sound",t) uf.SoundId = "rbxassetid://1474367957" uf.Volume = 2 uf:Play() | |
1177 | ALLAHU_AKBAR = false | |
1178 | wait(1) | |
1179 | uf:Destroy() | |
1180 | end | |
1181 | end) | |
1182 | ------Kaboom------ | |
1183 | kaboom1 = false | |
1184 | mouse.KeyDown:connect(function(key) | |
1185 | if key == "j" and not using and not kaboom1 then | |
1186 | function ah(hit) | |
1187 | if hit.Parent ~= nil then | |
1188 | local humana = hit.Parent:findFirstChildOfClass("Humanoid") | |
1189 | if humana ~= nil then | |
1190 | if hit.Parent == char then | |
1191 | ||
1192 | else | |
1193 | local bitc = hit.Parent | |
1194 | bitc:Destroy() | |
1195 | end | |
1196 | end | |
1197 | end | |
1198 | end | |
1199 | using = true | |
1200 | rut.Anchored = true kaboom1 = true | |
1201 | for i = 1,10 do | |
1202 | rut.CFrame = rut.CFrame * CFrame.new(0,3,0) | |
1203 | mus.Volume = mus.Volume -.3 | |
1204 | cm.Volume = cm.Volume +.1 | |
1205 | wait() | |
1206 | end | |
1207 | local poom = Instance.new("Sound",t) poom.EmitterSize = 1000 poom.Volume = 10 poom.Pitch = .6 poom.SoundId = "rbxassetid://704085554" | |
1208 | local bum = Instance.new("Part",t) bum.Transparency = 1 bum.CanCollide = false bum.Anchored = true bum.CFrame = t.CFrame bum.Size = Vector3.new(200,200,200) bum.BrickColor = BrickColor.new("Toothpaste") bum.Shape = "Ball" bum.Material = "Neon" | |
1209 | local bum1 = Instance.new("Part",t) bum1.Transparency = 1 bum1.CanCollide = false bum1.Anchored = true bum1.CFrame = t.CFrame bum1.Size = Vector3.new(200,200,200) bum1.BrickColor = BrickColor.new("Toothpaste") bum1.Shape = "Ball" bum1.Material = "Neon" | |
1210 | local bum2 = Instance.new("Part",t) bum2.Transparency = 1 bum2.CanCollide = false bum2.Anchored = true bum2.CFrame = t.CFrame bum2.Size = Vector3.new(200,200,200) bum2.BrickColor = BrickColor.new("Toothpaste") bum2.Shape = "Ball" bum2.Material = "Neon" | |
1211 | local bum3= Instance.new("Part",t) bum3.Transparency = 1 bum3.CanCollide = false bum3.Anchored = true bum3.CFrame = t.CFrame bum3.Size = Vector3.new(200,200,200) bum3.BrickColor = BrickColor.new("Toothpaste") bum3.Shape = "Ball" bum3.Material = "Neon" | |
1212 | local tweeni = TweenInfo.new( | |
1213 | .6, | |
1214 | Enum.EasingStyle.Quint, | |
1215 | Enum.EasingDirection.In, | |
1216 | 0, | |
1217 | false, | |
1218 | 0 | |
1219 | ) | |
1220 | local size = {Size = Vector3.new(7,7,7), Color = Color3.fromRGB(255,100,0), Transparency = .75} | |
1221 | local tsize = tweens:Create(bum,tweeni,size) | |
1222 | local size1 = {Size = Vector3.new(7,7,7), Color = Color3.fromRGB(255,100,0), Transparency = .5} | |
1223 | local tsize1 = tweens:Create(bum1,tweeni,size1) | |
1224 | local size2 = {Size = Vector3.new(7,7,7), Color = Color3.fromRGB(255,100,0), Transparency = .25} | |
1225 | local tsize2 = tweens:Create(bum2,tweeni,size2) | |
1226 | local size3 = {Size = Vector3.new(7,7,7), Color = Color3.fromRGB(255,100,0), Transparency = 0} | |
1227 | local tsize3 = tweens:Create(bum3,tweeni,size2) | |
1228 | tsize:Play() | |
1229 | poom:Play() | |
1230 | wait(.6) | |
1231 | tsize1:Play() | |
1232 | poom:Play() | |
1233 | wait(.6) | |
1234 | tsize2:Play() | |
1235 | poom:Play() | |
1236 | wait(.6) | |
1237 | tsize3:Play() | |
1238 | poom:Play() | |
1239 | local kaboom = Instance.new("Sound",t) kaboom.Volume = 3 kaboom.SoundId = "rbxassetid://138084923" kaboom:Play() | |
1240 | wait(1) | |
1241 | bum.Transparency = 1 bum1.Transparency = 1 bum2.Transparency = 1 | |
1242 | local alahuakbar = {Size = Vector3.new(500,500,500), Transparency = 1, Color = Color3.fromRGB(255,50,0)} | |
1243 | local tak = tweens:Create(bum3,tweeni,alahuakbar) | |
1244 | tak:Play() | |
1245 | bum3.Touched:connect(ah) | |
1246 | local exp = Instance.new("Sound",t) exp.EmitterSize = 100 exp.Volume = 10 exp.SoundId = "rbxassetid://1577567682" exp:Play() | |
1247 | wait(1) | |
1248 | using = false rut.Anchored = false poom:Destroy() | |
1249 | bum:Destroy() bum1:Destroy() bum2:Destroy() bum3:Destroy() | |
1250 | wait(1) | |
1251 | kaboom:Destroy() | |
1252 | wait(.4) | |
1253 | exp:Destroy() | |
1254 | wait(10) | |
1255 | for i = 1,10 do | |
1256 | mus.Volume = mus.Volume +.3 | |
1257 | cm.Volume = cm.Volume -.1 | |
1258 | wait(.1) | |
1259 | end | |
1260 | kaboom1 = false | |
1261 | end | |
1262 | end) | |
1263 | ------Bread Grenade------ | |
1264 | brid = false | |
1265 | mouse.KeyDown:connect(function(key) | |
1266 | if key == "u" and not using and not brid then | |
1267 | using = true | |
1268 | brid = true | |
1269 | function gren_exp(hit) | |
1270 | if hit.Parent ~= nil then | |
1271 | local humt = hit.Parent:FindFirstChild("Humanoid") | |
1272 | if humt ~= nil then | |
1273 | if hit.Parent == char then | |
1274 | ||
1275 | else | |
1276 | hit.Transparency = .4 hit.Color = Color3.fromRGB(255,150,0) hit.Material = "Neon" | |
1277 | local meaaa = Instance.new("SpecialMesh",hit) meaaa.MeshType = "Brick" | |
1278 | wait(.7) | |
1279 | hit.Anchored = true | |
1280 | for i = 1,30 do | |
1281 | hit.CFrame = hit.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1282 | wait() | |
1283 | end | |
1284 | for i = 1,6 do | |
1285 | hit.Transparency = hit.Transparency +.1 | |
1286 | hit.CFrame = hit.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1287 | wait() | |
1288 | end | |
1289 | humt.Parent:Destroy() | |
1290 | end | |
1291 | end | |
1292 | end | |
1293 | end | |
1294 | local tmod = Instance.new("Model",workspace) tmod.Name = "tust" | |
1295 | local tost = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1296 | local tmesh createMesh("SpecialMesh",tost,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1297 | local tweld = CreateWeld("Weld",tost,ra,tost,CFrame.new(0,-1.5,0),CFrame.fromEulerAnglesXYZ(0,0,3.1)) | |
1298 | local tost1 = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1299 | local tmesh1 createMesh("SpecialMesh",tost1,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1300 | local tweld1 = CreateWeld("Weld",tost1,tost1,tost,CFrame.new(0,0,.16),CFrame.new(0,0,0)) | |
1301 | local tost2 = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1302 | local tmesh2 createMesh("SpecialMesh",tost2,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1303 | local tweld2 = CreateWeld("Weld",tost2,tost2,tost,CFrame.new(0,0,.32),CFrame.new(0,0,0)) | |
1304 | local tost3 = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1305 | local tmesh3 createMesh("SpecialMesh",tost3,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1306 | local tweld3 = CreateWeld("Weld",tost3,tost3,tost,CFrame.new(0,0,.48),CFrame.new(0,0,0)) | |
1307 | local tost4 = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1308 | local tmesh4 createMesh("SpecialMesh",tost4,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1309 | local tweld4 = CreateWeld("Weld",tost4,tost4,tost,CFrame.new(0,0,-.16),CFrame.new(0,0,0)) | |
1310 | local tost5 = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1311 | local tmesh5 createMesh("SpecialMesh",tost5,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1312 | local tweld5 = CreateWeld("Weld",tost5,tost5,tost,CFrame.new(0,0,-.32),CFrame.new(0,0,0)) | |
1313 | local tost6 = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1314 | local tmesh6 createMesh("SpecialMesh",tost6,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1315 | local tweld6 = CreateWeld("Weld",tost6,tost6,tost,CFrame.new(0,0,-.48),CFrame.new(0,0,0)) | |
1316 | local tost7 = CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1317 | local tmesh7 createMesh("SpecialMesh",tost7,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1318 | local tweld7 = CreateWeld("Weld",tost7,tost7,tost,CFrame.new(0,0,-.64),CFrame.new(0,0,0)) | |
1319 | local tost8= CreatePart(tmod,"Plastic",0,0,"White","tast",Vector3.new(1.248, 1.264, 0.16),false,false) | |
1320 | local tmesh8 createMesh("SpecialMesh",tost8,"FileMesh","1614924885","1614940093",Vector3.new(0.003, 0.003, 0.003)) | |
1321 | local tweld8 = CreateWeld("Weld",tost8,tost8,tost,CFrame.new(0,0,.64),CFrame.new(0,0,0)) | |
1322 | function oobread(hit) | |
1323 | if hit.Parent ~= nil then | |
1324 | local huma = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1325 | if huma ~= nil then | |
1326 | if hit.Parent == char then | |
1327 | ||
1328 | else | |
1329 | for i = 1,100 do | |
1330 | huma.WalkToPoint = tost.Position | |
1331 | wait(.05) | |
1332 | end | |
1333 | end | |
1334 | end | |
1335 | end | |
1336 | end | |
1337 | for i = 1,5 do | |
1338 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.1) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.15,0,.66) | |
1339 | wait() | |
1340 | end | |
1341 | wait(.6) | |
1342 | local vel = Instance.new("BodyVelocity",tost) vel.MaxForce = Vector3.new(99999,99999,99999) | |
1343 | vel.Velocity = ra.CFrame.lookVector * -30 | |
1344 | tweld:Destroy() | |
1345 | for i = 1,5 do | |
1346 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(0,0,.1) rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.15,0,-.66) | |
1347 | wait() | |
1348 | end | |
1349 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,3.145,0) | |
1350 | vel:Destroy() | |
1351 | wait(.2) | |
1352 | tost.CanCollide = true tost1.CanCollide = true tost2.CanCollide = true tost3.CanCollide = true tost4.CanCollide = true tost5.CanCollide = true tost6.CanCollide = true tost7.CanCollide = true tost8.CanCollide = true | |
1353 | local obread = CreatePart(tmod,"Ice",0,1,"White","obread",Vector3.new(40,40,40),true,false) obread.CFrame = tost.CFrame obread.Touched:connect(oobread) | |
1354 | wait(3) | |
1355 | obread:Destroy() | |
1356 | wait(1) | |
1357 | using = false | |
1358 | tost.Touched:connect(oobread) tost1.Touched:connect(oobread) tost2.Touched:connect(oobread) tost3.Touched:connect(oobread) tost4.Touched:connect(oobread) tost5.Touched:connect(oobread) tost6.Touched:connect(oobread) tost7.Touched:connect(oobread) tost8.Touched:connect(oobread) | |
1359 | local boom = Instance.new("Explosion",tost) boom.Visible = false boom.Position = tost.Position boom.BlastPressure = 100000 boom.BlastRadius = 10 | |
1360 | local bah = CreatePart(tmod,"Neon",0,0,"Deep Orange","bah",Vector3.new(2,2,2),true,false) bah.Position = tost.Position bah.Shape = "Ball" | |
1361 | bah.Color = Color3.fromRGB(255,160,0) bah.Touched:connect(gren_exp) | |
1362 | local tweeni = TweenInfo.new( | |
1363 | .3, | |
1364 | Enum.EasingStyle.Quint, | |
1365 | Enum.EasingDirection.In, | |
1366 | 0, | |
1367 | false, | |
1368 | 0) | |
1369 | local size = {Size = Vector3.new(20,20,20), Color = Color3.fromRGB(255,0,0), Transparency = 1} | |
1370 | local tsize = tweens:Create(bah,tweeni,size) | |
1371 | tsize:Play() | |
1372 | brid = false | |
1373 | wait(.3) | |
1374 | bah:Destroy() | |
1375 | wait(5) | |
1376 | tmod:Destroy() | |
1377 | end | |
1378 | end) | |
1379 | ------Chat Func.------ | |
1380 | bbg = Instance.new("BillboardGui",h) | |
1381 | bbg.Size = UDim2.new(0,200,0,50) | |
1382 | bbg.StudsOffset = Vector3.new(0,2,0) | |
1383 | bbgTl = Instance.new("TextLabel",bbg) | |
1384 | bbgTl.BackgroundTransparency = 1 | |
1385 | bbgTl.Size = UDim2.new(10,0,1,0) | |
1386 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
1387 | bbgTl.Font = "Cartoon" | |
1388 | bbgTl.Text = " " | |
1389 | bbgTl.TextSize = 30 | |
1390 | bbgTl.TextStrokeColor3 = Color3.fromRGB(255,160) | |
1391 | bbgTl.TextColor3 = Color3.fromRGB(255,255,255) | |
1392 | bbgTl.TextStrokeTransparency = 0 | |
1393 | bbgTl.TextWrapped = true | |
1394 | plr.Chatted:connect(function(msg) | |
1395 | bbgTl.Text = msg | |
1396 | wait(5) | |
1397 | if bbgTl.Text == msg then | |
1398 | bbgTl.Text = " " | |
1399 | end | |
1400 | end) | |
1401 | ------...------ | |
1402 | mouse.KeyDown:connect(function(key) | |
1403 | if key == "=" and not using then | |
1404 | using = true | |
1405 | for i = 1,5 do | |
1406 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.15,0,.3) | |
1407 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(-.15,0,-.3) | |
1408 | wait() | |
1409 | end | |
1410 | local hugbox = CreatePart(char,"Plastic",0,1,"White","Hugs",Vector3.new(3,5,3),false,false) | |
1411 | local huw = CreateWeld("Weld",hugbox,t,hugbox,CFrame.new(0,0,-2),CFrame.new(0,0,0)) | |
1412 | function hugs(hug) | |
1413 | if hug.Parent ~= nil then | |
1414 | local wanthugs = hug.Parent:FindFirstChild("Humanoid") | |
1415 | if wanthugs ~= nil then | |
1416 | if hug.Parent == char then | |
1417 | ||
1418 | else | |
1419 | hugbox:Destroy() wanthugs.Health = wanthugs.Health +35 wanthugs.PlatformStand = false wanthugs.Sit = false | |
1420 | for _,q in pairs(wanthugs.Parent.Head:GetChildren()) do | |
1421 | if q:IsA("Decal") then | |
1422 | q.Transparency = 1 | |
1423 | end | |
1424 | end | |
1425 | local o = Instance.new("Decal",wanthugs.Parent.Head) o.Texture = "http://www.roblox.com/asset/?id=388881187" | |
1426 | h.face.Transparency = 1 | |
1427 | local cface = Instance.new("Decal",h) cface.Texture = "http://www.roblox.com/asset/?id=158131972" | |
1428 | local hugw = CreateWeld("Weld",char,wanthugs.Parent.Head,t,CFrame.new(0,-1.5,-1.2),CFrame.fromEulerAnglesXYZ(0,3.1,0)) | |
1429 | wait(.2) | |
1430 | for i = 1,10 do | |
1431 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.1,0,.03) rs.C0 = rs.C0 * CFrame.new(0,-.06,0) | |
1432 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(.1,0,-.03) ls.C0 = ls.C0 * CFrame.new(0,-.06,0) | |
1433 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(.05,.04,.04) | |
1434 | wait() | |
1435 | end | |
1436 | wait(2.2) | |
1437 | o:Destroy() | |
1438 | for _,q in pairs(wanthugs.Parent.Head:GetChildren()) do | |
1439 | if q:IsA("Decal") then | |
1440 | q.Transparency = 0 | |
1441 | end | |
1442 | end | |
1443 | cface:Destroy() | |
1444 | h.face.Transparency = 0 | |
1445 | hugw:Destroy() | |
1446 | char.Animate.Disabled = false | |
1447 | end | |
1448 | end | |
1449 | end | |
1450 | end | |
1451 | hugbox.Touched:connect(hugs) | |
1452 | wait(3) | |
1453 | for i = 1,5 do | |
1454 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(.15,0,-.3) | |
1455 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(.15,0,.3) | |
1456 | wait() | |
1457 | end | |
1458 | hugbox:Destroy() | |
1459 | using = false | |
1460 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
1461 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
1462 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
1463 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
1464 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
1465 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
1466 | end | |
1467 | end) | |
1468 | ------Decapitate------ | |
1469 | dec = false | |
1470 | mouse.KeyDown:connect(function(key) | |
1471 | if key == "n" and not using and not dec then | |
1472 | local hum1 = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1473 | if hum1 ~= nil then | |
1474 | local tp = Instance.new("Part",t) tp.Anchored = true tp.Size = t.Size tp.Transparency = 1 tp.CFrame = t.CFrame tp.CanCollide = false | |
1475 | using = true dec = true char.Animate.Disabled = true | |
1476 | t.Anchored = true hum.WalkSpeed = 0 hum.JumpPower = 0 | |
1477 | disshit = hum1.Parent | |
1478 | h1 = hum1.Parent.Head | |
1479 | t1 = hum1.Parent.Torso | |
1480 | ra1 = hum1.Parent["Right Arm"] | |
1481 | la1 = hum1.Parent["Left Arm"] | |
1482 | rl1 = hum1.Parent["Right Leg"] | |
1483 | ll1 = hum1.Parent["Left Leg"] | |
1484 | hum1.WalkSpeed = 0 hum1.JumpPower = 0 t1.Anchored = true | |
1485 | t.CFrame = t1.CFrame * CFrame.new(0,0,-2) * CFrame.fromEulerAnglesXYZ(0,3.1,0) | |
1486 | for i = 1,5 do | |
1487 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,.1,.4) * CFrame.new(0,-.15,0) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(0,-.1,-.4) * CFrame.new(0,-.15,0) | |
1488 | wait() | |
1489 | end | |
1490 | wait(.1) | |
1491 | local chunc = Instance.new("Sound",h1) chunc.SoundId = "rbxassetid://314390675" chunc.Volume = 2 chunc.Pitch = .7 chunc:Play() | |
1492 | for i = 1,10 do | |
1493 | chunc:Play() | |
1494 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,.06) * CFrame.new(.05,-.03,0) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.06) * CFrame.new(-.05,-.03,0) | |
1495 | wait(.05) | |
1496 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.06) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(0,0,.06) | |
1497 | wait(.1) | |
1498 | end | |
1499 | for i,v in pairs(disshit:GetChildren()) do | |
1500 | if v.Name == "HumanoidRootPart" then | |
1501 | v:Destroy() | |
1502 | end | |
1503 | end | |
1504 | t1.Anchored = false h1.Anchored = false ra1.Anchored = false la1.Anchored = false rl1.Anchored = false ll1.Anchored = false | |
1505 | hum1.PlatformStand = true | |
1506 | hum1.Parent.Head.Anchored = false | |
1507 | disshit:BreakJoints() | |
1508 | for i,v in pairs(h1:GetChildren()) do | |
1509 | if v:IsA("Decal") then | |
1510 | v:Destroy() | |
1511 | end | |
1512 | end | |
1513 | ooww = Instance.new("Decal",h1) ooww.Texture = "http://www.roblox.com/asset/?id=1253783230" | |
1514 | at2 = Instance.new("Attachment",t1) at2.Position = Vector3.new(1,.8,0) at2.Position = Vector3.new(1,.8,0) | |
1515 | at = Instance.new("Attachment",ra1) at.Name = "oof" at.Position = Vector3.new(-.5,.8,0) | |
1516 | balls = Instance.new("BallSocketConstraint",ra1) balls.Attachment0 = at2 balls.Attachment1 = at | |
1517 | at21 = Instance.new("Attachment",t1) at21.Position = Vector3.new(-1,.8,0) at21.Position = Vector3.new(-1,.8,0) at21.Orientation = Vector3.new(0,180,0) | |
1518 | at1 = Instance.new("Attachment",la1) at.Name = "oof" at1.Position = Vector3.new(.5,.8,0) | |
1519 | balls1 = Instance.new("BallSocketConstraint",la1) balls1.Attachment0 = at21 balls1.Attachment1 = at1 | |
1520 | owihatedis = Instance.new("Attachment",t1) owihatedis.Position = Vector3.new(.6,-1,0) oihd = Instance.new("Attachment",rl1) oihd.Position = Vector3.new(.1,1,0) oww = Instance.new("BallSocketConstraint",rl1) oww.Attachment0 = owihatedis oww.Attachment1 = oihd | |
1521 | nek = Instance.new("Attachment",h1) nek2 = Instance.new("Attachment",t1) nek2.Position = Vector3.new(0,1,0) nek.Position = Vector3.new(0,-.5,0) nball = Instance.new("RopeConstraint",h1) nball.Length = 5000 nball.Visible = false nball.Attachment0 = nek nball.Attachment1 = nek2 | |
1522 | owihatedis2 = Instance.new("Attachment",t1) owihatedis2.Position = Vector3.new(-.6,-1,0) oihd2 = Instance.new("Attachment",ll1) oihd2.Position = Vector3.new(-.1,1,0) oww2 = Instance.new("BallSocketConstraint",ll1) oww2.Attachment0 = owihatedis2 oww2.Attachment1 = oihd2 | |
1523 | box = Instance.new("Part",ra1) box.Size = Vector3.new(1,1,1) box.Transparency = 1 | |
1524 | box1 = Instance.new("Part",la1) box1.Size = Vector3.new(1,1,1) box1.Transparency = 1 | |
1525 | box2 = Instance.new("Part",rl1) box2.Size = Vector3.new(1,1,1) box2.Transparency = 1 | |
1526 | box3 = Instance.new("Part",ll1) box3.Size = Vector3.new(1,1,1) box3.Transparency = 1 | |
1527 | box4 = Instance.new("Part",t1) box4.Size = t.Size - Vector3.new(0,.2,0) box4.Transparency = 1 | |
1528 | bw = Instance.new("Weld",box) bw.Part0 = box bw.Part1 = ra1 bw.C0 = bw.C0 * CFrame.new(0,.5,0) | |
1529 | bw1 = Instance.new("Weld",box1) bw1.Part0 = box1 bw1.Part1 = la1 bw1.C0 = bw1.C0 * CFrame.new(0,.5,0) | |
1530 | bw2 = Instance.new("Weld",box2) bw2.Part0 = box2 bw2.Part1 = rl1 bw2.C0 = bw2.C0 * CFrame.new(0,.5,0) | |
1531 | bw3 = Instance.new("Weld",box3) bw3.Part0 = box3 bw3.Part1 = ll1 bw3.C0 = bw3.C0 * CFrame.new(0,.5,0) | |
1532 | bw4 = Instance.new("Weld",box4) bw4.Part0 = box4 bw4.Part1 = t1 bw4.C0 = bw4.C0 * CFrame.new(0,.2,0) | |
1533 | local blud = Instance.new("Part",h1) blud.Shape = "Cylinder" blud.Size = Vector3.new(0.05, 0.77, 0.83) blud.Material = "Glass" blud.BrickColor = BrickColor.new("Crimson") local bludw = Instance.new("Weld",blud) bludw.Part0 = h1 bludw.Part1 = blud bludw.C0 = bludw.C0 * CFrame.new(0,-.59,0) * CFrame.fromEulerAnglesXYZ(0,0,1.55) | |
1534 | local blud1 = Instance.new("Part",t1) blud1.Shape = "Cylinder" blud1.Size = Vector3.new(0.05, 0.77, 0.83) blud1.Material = "Glass" blud1.BrickColor = BrickColor.new("Crimson") local bludw1 = Instance.new("Weld",blud1) bludw1.Part0 = t1 bludw1.Part1 = blud1 bludw1.C0 = bludw1.C0 * CFrame.new(0,1,0) * CFrame.fromEulerAnglesXYZ(0,0,1.55) | |
1535 | local hweld = CreateWeld("Weld",t1,h1,ra,CFrame.new(-1,-1,0),CFrame.fromEulerAnglesXYZ(0,0,0)) hweld.C0 = hweld.C0 * CFrame.fromEulerAnglesXYZ(0,0,3.1) | |
1536 | for i = 1,2 do | |
1537 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(0,0,.6) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(0,0,-.6) | |
1538 | wait() | |
1539 | end | |
1540 | wait(.4) | |
1541 | for i = 1,5 do | |
1542 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.4,0,0) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(0,0,.6) | |
1543 | wait() | |
1544 | end | |
1545 | hweld:Destroy() | |
1546 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
1547 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
1548 | t.Anchored = false hum.WalkSpeed = 16 hum.JumpPower = 50 char.Animate.Disabled = false | |
1549 | t.CFrame = tp.CFrame | |
1550 | tp:Destroy() | |
1551 | using = false | |
1552 | wait(5) | |
1553 | for i = 1,10 do | |
1554 | ra1.Transparency = ra1.Transparency +.1 | |
1555 | la1.Transparency = la1.Transparency +.1 | |
1556 | rl1.Transparency = rl1.Transparency +.1 | |
1557 | ll1.Transparency = ll1.Transparency +.1 | |
1558 | h1.Transparency = h1.Transparency +.1 | |
1559 | t1.Transparency = t1.Transparency +.1 | |
1560 | blud.Transparency = blud.Transparency +.1 | |
1561 | blud1.Transparency = blud1.Transparency +.1 | |
1562 | wait(.1) | |
1563 | end | |
1564 | disshit:Destroy() | |
1565 | dec = false | |
1566 | end | |
1567 | end | |
1568 | end) | |
1569 | --------Anti-stun------ | |
1570 | mouse.KeyDown:connect(function(key) | |
1571 | if key == "n" then | |
1572 | using = false | |
1573 | h.Anchored = false | |
1574 | t.Anchored = false | |
1575 | ra.Anchored = false | |
1576 | la.Anchored = false | |
1577 | rl.Anchored = false | |
1578 | ll.Anchored = false | |
1579 | for i,v in pairs(char:GetChildren()) do | |
1580 | if v:IsA("Accessory") then | |
1581 | v.Handle.Anchored = false | |
1582 | end | |
1583 | end | |
1584 | dec = false | |
1585 | char.Animate.Disabled = false hum.WalkSpeed = 16 hum.JumpPower = 50 | |
1586 | hum.PlatformStand = false brda.Anchored = false rut.Anchored = false | |
1587 | end | |
1588 | end) | |
1589 | ------Dance------ | |
1590 | mouse.KeyDown:connect(function(key) | |
1591 | if key == "m" and not using then | |
1592 | using = true | |
1593 | hum.WalkSpeed = 0 hum.JumpPower = 0 mus.Volume = 0 tripoloski.Volume = 5 | |
1594 | for i = 1,5 do | |
1595 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.31,0,0) * CFrame.new(0,-.15,-.03) | |
1596 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(-.31,0,0) * CFrame.new(0,-.15,-.03) | |
1597 | rh.C0 = rh.C0 * CFrame.new(0,0,.2) | |
1598 | lh.C0 = lh.C0 * CFrame.new(0,0,.2) | |
1599 | wait() | |
1600 | end | |
1601 | wait(.5) | |
1602 | for i = 1,6 do | |
1603 | for i = 1,5 do | |
1604 | rh.C0 = rh.C0 * CFrame.new(0,.2,0) | |
1605 | lh.C0 = lh.C0 * CFrame.new(0,.2,0) | |
1606 | rutj.C0 = rutj.C0 * CFrame.new(0,0,-.2) | |
1607 | wait() | |
1608 | end | |
1609 | wait(.05) | |
1610 | for i = 1,5 do | |
1611 | rh.C0 = rh.C0 * CFrame.new(0,-.2,0) | |
1612 | lh.C0 = lh.C0 * CFrame.new(0,-.2,0) | |
1613 | rutj.C0 = rutj.C0 * CFrame.new(0,0,.2) | |
1614 | wait() | |
1615 | end | |
1616 | end | |
1617 | for i = 1,15 do | |
1618 | for i = 1,2 do | |
1619 | rh.C0 = rh.C0 * CFrame.new(0,.5,0) | |
1620 | lh.C0 = lh.C0 * CFrame.new(0,.5,0) | |
1621 | rutj.C0 = rutj.C0 * CFrame.new(0,0,-.5) | |
1622 | wait() | |
1623 | end | |
1624 | for i = 1,2 do | |
1625 | rh.C0 = rh.C0 * CFrame.new(0,-.5,0) | |
1626 | lh.C0 = lh.C0 * CFrame.new(0,-.5,0) | |
1627 | rutj.C0 = rutj.C0 * CFrame.new(0,0,.5) | |
1628 | wait() | |
1629 | end | |
1630 | end | |
1631 | for i = 1,25 do | |
1632 | rh.C0 = rh.C0 * CFrame.new(0,1,0) | |
1633 | lh.C0 = lh.C0 * CFrame.new(0,1,0) | |
1634 | rutj.C0 = rutj.C0 * CFrame.new(0,0,-1) | |
1635 | wait(.03) | |
1636 | rh.C0 = rh.C0 * CFrame.new(0,-1,0) | |
1637 | lh.C0 = lh.C0 * CFrame.new(0,-1,0) | |
1638 | rutj.C0 = rutj.C0 * CFrame.new(0,0,1) | |
1639 | wait() | |
1640 | end | |
1641 | local ow = Instance.new("Decal",h) ow.Texture = "http://www.roblox.com/asset/?id=271100777" | |
1642 | local chunc = Instance.new("Sound",t) chunc.SoundId = "rbxassetid://314390675" chunc.Volume = 5 chunc:Play() | |
1643 | h.face.Transparency = 1 | |
1644 | for c = 1,2 do | |
1645 | rutj.C0 = rutj.C0 * CFrame.new(0,0,-.875) | |
1646 | rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(-.775,0,0) * CFrame.new(0,.75,0) | |
1647 | lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(-.775,0,0) * CFrame.new(0,.75,0) | |
1648 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(-.7,0,0) ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(-.7,0,0) | |
1649 | wait() | |
1650 | end | |
1651 | local aaaa = Instance.new("Sound",t) aaaa.SoundId = "rbxassetid://633394595" aaaa.Volume = 5 aaaa:Play() | |
1652 | wait(1) | |
1653 | ow:Destroy() | |
1654 | local wot = Instance.new("Decal",h) wot.Texture = "http://www.roblox.com/asset/?id=1077397727" | |
1655 | for i = 1,60 do | |
1656 | rs.C0 = rs.C0 * CFrame.fromEulerAnglesXYZ(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1657 | ls.C0 = ls.C0 * CFrame.fromEulerAnglesXYZ(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1658 | nec.C0 = nec.C0 * CFrame.fromEulerAnglesXYZ(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1659 | rutj.C0 = rutj.C0 * CFrame.fromEulerAnglesXYZ(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1660 | rh.C0 = rh.C0 * CFrame.fromEulerAnglesXYZ(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1661 | lh.C0 = lh.C0 * CFrame.fromEulerAnglesXYZ(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1662 | wait() | |
1663 | end | |
1664 | local boom = Instance.new("Explosion",t) boom.Position = t.Position boom.BlastRadius = 0 | |
1665 | rs.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rs.C0 = rs.C0 * CFrame.new(0,.5,1) | |
1666 | ls.C0 = CFrame.fromEulerAnglesXYZ(0,-14.1,0) ls.C0 = ls.C0 * CFrame.new(0,.5,1) | |
1667 | rh.C0 = CFrame.fromEulerAnglesXYZ(0,-4.7,0) rh.C0 = rh.C0 * CFrame.new(0,-1,1) | |
1668 | lh.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,0) lh.C0 = lh.C0 * CFrame.new(0,-1,1) | |
1669 | nec.C0 = CFrame.fromEulerAnglesXYZ(4.7,0,9.4) nec.C0 = nec.C0 * CFrame.new(0,0,1) | |
1670 | rutj.C0 = CFrame.fromEulerAnglesXYZ(-4.7,9.4,0) | |
1671 | hum.WalkSpeed = 16 hum.JumpPower = 50 h.face.Transparency = 0 wot:Destroy() | |
1672 | using = false mus.Volume = 2 tripoloski.Volume = 0 | |
1673 | wait(.7) | |
1674 | boom:Destroy() | |
1675 | end | |
1676 | end) | |
1677 | ------Music Change------ | |
1678 | mouse.KeyDown:connect(function(key) | |
1679 | if key == "1" then | |
1680 | local mu = math.random(1,5) | |
1681 | if mu == 1 then | |
1682 | mus.Volume = 2 | |
1683 | cm.Volume = 0 | |
1684 | tripoloski.Volume = 0 | |
1685 | bochka.Volume = 0 | |
1686 | a13.Volume = 0 | |
1687 | end | |
1688 | if mu == 2 then | |
1689 | mus.Volume = 0 | |
1690 | cm.Volume = 2 | |
1691 | tripoloski.Volume = 0 | |
1692 | bochka.Volume = 0 | |
1693 | a13.Volume = 0 | |
1694 | end | |
1695 | if mu == 3 then | |
1696 | mus.Volume = 0 | |
1697 | cm.Volume = 0 | |
1698 | tripoloski.Volume = 5 | |
1699 | bochka.Volume = 0 | |
1700 | a13.Volume = 0 | |
1701 | end | |
1702 | if mu == 4 then | |
1703 | mus.Volume = 0 | |
1704 | cm.Volume = 0 | |
1705 | tripoloski.Volume = 0 | |
1706 | bochka.Volume = 4 | |
1707 | a13.Volume = 0 | |
1708 | end | |
1709 | if mu == 5 then | |
1710 | mus.Volume = 0 | |
1711 | cm.Volume = 0 | |
1712 | tripoloski.Volume = 0 | |
1713 | bochka.Volume = 0 | |
1714 | a13.Volume = 6 | |
1715 | end | |
1716 | end | |
1717 | end) | |
1718 | -----------------END---------------- |