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