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