SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | local rp = RealPlayer | |
6 | script.Parent = rp.Character | |
7 | ||
8 | --RemoteEvent for communicating | |
9 | local Event = Instance.new("RemoteEvent") | |
10 | Event.Name = "UserInput_Event" | |
11 | ||
12 | --Fake event to make stuff like Mouse.KeyDown work | |
13 | local function fakeEvent() | |
14 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
15 | t.connect = t.Connect | |
16 | return t | |
17 | end | |
18 | ||
19 | --Creating fake input objects with fake variables | |
20 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
21 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
22 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
23 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
24 | end} | |
25 | --Merged 2 functions into one by checking amount of arguments | |
26 | CAS.UnbindAction = CAS.BindAction | |
27 | ||
28 | --This function will trigger the events that have been :Connect()'ed | |
29 | local function te(self,ev,...) | |
30 | local t = m[ev] | |
31 | if t and t._fakeEvent then | |
32 | for _,f in pairs(t.Functions) do | |
33 | f(...) | |
34 | end | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=rp then return end | |
42 | m.Target = io.Target | |
43 | m.Hit = io.Hit | |
44 | if not io.isMouse then | |
45 | local b = io.UserInputState == Enum.UserInputState.Begin | |
46 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
47 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
48 | end | |
49 | for _,t in pairs(CAS.Actions) do | |
50 | for _,k in pairs(t.Keys) do | |
51 | if k==io.KeyCode then | |
52 | t.Function(t.Name,io.UserInputState,io) | |
53 | end | |
54 | end | |
55 | end | |
56 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
57 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
58 | end | |
59 | end) | |
60 | Event.Parent = NLS([==[ | |
61 | local Player = game:GetService("Players").LocalPlayer | |
62 | local Event = script:WaitForChild("UserInput_Event") | |
63 | ||
64 | local Mouse = Player:GetMouse() | |
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local h,t | |
75 | --Give the server mouse data 30 times every second, but only if the values changed | |
76 | --If player is not moving their mouse, client won't fire events | |
77 | while wait(1/30) do | |
78 | if h~=Mouse.Hit or t~=Mouse.Target then | |
79 | h,t=Mouse.Hit,Mouse.Target | |
80 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
81 | end | |
82 | end]==],Player.Character) | |
83 | ||
84 | ----Sandboxed game object that allows the usage of client-side methods and services | |
85 | --Real game object | |
86 | local _rg = game | |
87 | ||
88 | --Metatable for fake service | |
89 | local fsmt = { | |
90 | __index = function(self,k) | |
91 | local s = rawget(self,"_RealService") | |
92 | if s then return s[k] end | |
93 | end, | |
94 | __newindex = function(self,k,v) | |
95 | local s = rawget(self,"_RealService") | |
96 | if s then s[k]=v end | |
97 | end, | |
98 | __call = function(self,...) | |
99 | local s = rawget(self,"_RealService") | |
100 | if s then return s(...) end | |
101 | end | |
102 | } | |
103 | local function FakeService(t,RealService) | |
104 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
105 | return setmetatable(t,fsmt) | |
106 | end | |
107 | ||
108 | --Fake game object | |
109 | local g = { | |
110 | GetService = function(self,s) | |
111 | return self[s] | |
112 | end, | |
113 | Players = FakeService({ | |
114 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
115 | },"Players"), | |
116 | UserInputService = FakeService(UIS,"UserInputService"), | |
117 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
118 | } | |
119 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
120 | g.service = g.GetService | |
121 | ||
122 | g.RunService = FakeService({ | |
123 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
124 | BindToRenderStep = function(self,name,_,fun) | |
125 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
126 | end, | |
127 | UnbindFromRenderStep = function(self,name) | |
128 | self._btrs[name]:Disconnect() | |
129 | end, | |
130 | },"RunService") | |
131 | ||
132 | setmetatable(g,{ | |
133 | __index=function(self,s) | |
134 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
135 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
136 | end, | |
137 | __newindex = fsmt.__newindex, | |
138 | __call = fsmt.__call | |
139 | }) | |
140 | --Changing owner to fake player object to support owner:GetMouse() | |
141 | game,owner = g,g.Players.LocalPlayer | |
142 | end | |
143 | ||
144 | Player = owner | |
145 | PlayerGui = Player.PlayerGui | |
146 | Cam = workspace.CurrentCamera | |
147 | Backpack = Player.Backpack | |
148 | char = Player.Character | |
149 | Humanoid = char.Humanoid | |
150 | Mouse = Player:GetMouse() | |
151 | --------------------------------------------------- | |
152 | local LeftUpperArm = char.LeftUpperArm | |
153 | local LeftShoulder = char.LeftUpperArm.LeftShoulder | |
154 | local LeftLowerArm = char.LeftLowerArm | |
155 | local LeftElbow = char.LeftLowerArm.LeftElbow | |
156 | -------------------------------------------------------- | |
157 | local LeftUpperLeg = char.LeftUpperLeg | |
158 | local LeftHip = char.LeftUpperLeg.LeftHip | |
159 | local LeftLowerLeg = char.LeftLowerLeg | |
160 | local LeftKnee = char.LeftLowerLeg.LeftKnee | |
161 | ---------------------------------------------------------- | |
162 | local RightUpperArm = char.RightUpperArm | |
163 | local RightShoulder = char.RightUpperArm.RightShoulder | |
164 | local RightLowerArm = char.RightLowerArm | |
165 | local RightElbow = char.RightLowerArm.RightElbow | |
166 | ---------------------------------------------------------- | |
167 | local RightUpperLeg = char.RightUpperLeg | |
168 | local RightHip = char.RightUpperLeg.RightHip | |
169 | local RightLowerLeg = char.RightLowerLeg | |
170 | local RightKnee = char.RightLowerLeg.RightKnee | |
171 | ---------------------------------------------------------- | |
172 | local UpperTorso = char.UpperTorso | |
173 | local LowerTorso = char.LowerTorso | |
174 | local Root = char.LowerTorso.Root | |
175 | local RootPart = char.HumanoidRootPart | |
176 | local LeftHand = char.LeftHand | |
177 | local RightHand = char.RightHand | |
178 | local LeftFoot = char.LeftFoot | |
179 | local RightFoot = char.RightFoot | |
180 | -------------------------------------------- | |
181 | local Head = char.Head | |
182 | local Neck = char.Head.Neck | |
183 | local oldAnim = currentAnim | |
184 | ||
185 | removeuseless = game:GetService("Debris") | |
186 | laff = Instance.new("Sound",Head) | |
187 | tauntdebounce = false | |
188 | char = Player.Character | |
189 | Humanoid = char.Humanoid | |
190 | --------- | |
191 | plr = game.Players.LocalPlayer | |
192 | char = plr.Character | |
193 | mouse = plr:GetMouse() | |
194 | Create = Instance.new | |
195 | Huge = math.huge | |
196 | ||
197 | ||
198 | local Orin = "http://www.roblox.com/asset/?id=1065951398" | |
199 | Head.face.Texture = Orin | |
200 | function weld(a, b, acf) | |
201 | local w = Instance.new("Weld", a) | |
202 | w.Part0 = a | |
203 | w.Part1 = b | |
204 | w.C0 = acf | |
205 | end | |
206 | -------------------------------- | |
207 | char.Head.face.Texture = "rbxassetid://0" | |
208 | -------------------------------- | |
209 | local naeeym2 = Instance.new("BillboardGui",char) | |
210 | naeeym2.AlwaysOnTop = true | |
211 | naeeym2.Size = UDim2.new(5,35,2,35) | |
212 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
213 | naeeym2.Adornee = hed | |
214 | naeeym2.Name = "Name" | |
215 | ||
216 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
217 | tecks2.BackgroundTransparency = 1 | |
218 | tecks2.TextScaled = true | |
219 | tecks2.BorderSizePixel = 0 | |
220 | tecks2.Text = "" | |
221 | tecks2.Font = "Fantasy" | |
222 | tecks2.TextSize = 30 | |
223 | tecks2.TextStrokeTransparency = 0 | |
224 | - | tecks2.TextColor3 = BrickColor.new('Earth orange').Color |
224 | + | tecks2.TextColor3 = BrickColor.new('Br. yellowish orange').Color |
225 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
226 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
227 | tecks2.Parent = naeeym2 | |
228 | textfag = tecks2 | |
229 | tecks2.Text = "" | |
230 | tecks2.Text = "script by xdielivex" | |
231 | wait(1) | |
232 | - | tecks2.Text = "Teapot Man" |
232 | + | tecks2.Text = "Pain" |
233 | wait(1) | |
234 | tecks2.Text = "" | |
235 | coroutine.resume(coroutine.create(function() | |
236 | while textfag ~= nil do | |
237 | swait() | |
238 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
239 | textfag.Rotation = math.random(-3,3) | |
240 | end | |
241 | end)) | |
242 | ------------------------------------------------------- | |
243 | wait(0.2) | |
244 | local plr = game:service'Players'.LocalPlayer | |
245 | local char = plr.Character | |
246 | local hum = char.Humanoid | |
247 | local hed = char.Head | |
248 | local root = char.HumanoidRootPart | |
249 | local tors = char.UpperTorso | |
250 | local ra = char.RightUpperArm | |
251 | local la = char.LeftUpperArm | |
252 | local rl = char.RightUpperLeg | |
253 | local ll = char.LeftUpperLeg | |
254 | local neck = char.Head.Neck | |
255 | local mouse = plr:GetMouse() | |
256 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
257 | - | local maincolor = BrickColor.new("Plum") |
257 | + | |
258 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
259 | local maincolor = BrickColor.new("Phosph. White") | |
260 | local mainecolor = BrickColor.new("Earth orange") | |
261 | ||
262 | ------------------------------------------------------- | |
263 | --Start Good Stuff-- | |
264 | ------------------------------------------------------- | |
265 | cam = game.Workspace.CurrentCamera | |
266 | CF = CFrame.new | |
267 | angles = CFrame.Angles | |
268 | attack = false | |
269 | Euler = CFrame.fromEulerAnglesXYZ | |
270 | Rad = math.rad | |
271 | IT = Instance.new | |
272 | BrickC = BrickColor.new | |
273 | Cos = math.cos | |
274 | Acos = math.acos | |
275 | Sin = math.sin | |
276 | Asin = math.asin | |
277 | Abs = math.abs | |
278 | Mrandom = math.random | |
279 | Floor = math.floor | |
280 | ------------------------------------------------------- | |
281 | --End Good Stuff-- | |
282 | ------------------------------------------------------- | |
283 | ------------------------------------------------------- | |
284 | --Start HeartBeat-- | |
285 | ------------------------------------------------------- | |
286 | ArtificialHB = Instance.new("BindableEvent", script) | |
287 | ArtificialHB.Name = "Heartbeat" | |
288 | script:WaitForChild("Heartbeat") | |
289 | ||
290 | frame = 1 / 60 | |
291 | tf = 0 | |
292 | allowframeloss = false | |
293 | tossremainder = false | |
294 | ||
295 | ||
296 | lastframe = tick() | |
297 | script.Heartbeat:Fire() | |
298 | ||
299 | ||
300 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
301 | tf = tf + s | |
302 | if tf >= frame then | |
303 | if allowframeloss then | |
304 | script.Heartbeat:Fire() | |
305 | lastframe = tick() | |
306 | else | |
307 | for i = 1, math.floor(tf / frame) do | |
308 | script.Heartbeat:Fire() | |
309 | end | |
310 | lastframe = tick() | |
311 | end | |
312 | if tossremainder then | |
313 | tf = 0 | |
314 | else | |
315 | tf = tf - frame * math.floor(tf / frame) | |
316 | end | |
317 | end | |
318 | end) | |
319 | ------------------------------------------------------- | |
320 | --End HeartBeat-- | |
321 | ------------------------------------------------------- | |
322 | ||
323 | ------------------------------------------------------- | |
324 | --Start Important Functions-- | |
325 | ------------------------------------------------------- | |
326 | function swait(num) | |
327 | if num == 0 or num == nil then | |
328 | game:service("RunService").Stepped:wait(0) | |
329 | else | |
330 | for i = 0, num do | |
331 | game:service("RunService").Stepped:wait(0) | |
332 | end | |
333 | end | |
334 | end | |
335 | function thread(f) | |
336 | coroutine.resume(coroutine.create(f)) | |
337 | end | |
338 | function clerp(a, b, t) | |
339 | local qa = { | |
340 | QuaternionFromCFrame(a) | |
341 | } | |
342 | local qb = { | |
343 | QuaternionFromCFrame(b) | |
344 | } | |
345 | local ax, ay, az = a.x, a.y, a.z | |
346 | local bx, by, bz = b.x, b.y, b.z | |
347 | local _t = 1 - t | |
348 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
349 | end | |
350 | function QuaternionFromCFrame(cf) | |
351 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
352 | local trace = m00 + m11 + m22 | |
353 | if trace > 0 then | |
354 | local s = math.sqrt(1 + trace) | |
355 | local recip = 0.5 / s | |
356 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
357 | else | |
358 | local i = 0 | |
359 | if m00 < m11 then | |
360 | i = 1 | |
361 | end | |
362 | if m22 > (i == 0 and m00 or m11) then | |
363 | i = 2 | |
364 | end | |
365 | if i == 0 then | |
366 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
367 | local recip = 0.5 / s | |
368 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
369 | elseif i == 1 then | |
370 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
371 | local recip = 0.5 / s | |
372 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
373 | elseif i == 2 then | |
374 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
375 | local recip = 0.5 / s | |
376 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
377 | end | |
378 | end | |
379 | end | |
380 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
381 | local xs, ys, zs = x + x, y + y, z + z | |
382 | local wx, wy, wz = w * xs, w * ys, w * zs | |
383 | local xx = x * xs | |
384 | local xy = x * ys | |
385 | local xz = x * zs | |
386 | local yy = y * ys | |
387 | local yz = y * zs | |
388 | local zz = z * zs | |
389 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
390 | end | |
391 | function QuaternionSlerp(a, b, t) | |
392 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
393 | local startInterp, finishInterp | |
394 | if cosTheta >= 1.0E-4 then | |
395 | if 1 - cosTheta > 1.0E-4 then | |
396 | local theta = math.acos(cosTheta) | |
397 | local invSinTheta = 1 / Sin(theta) | |
398 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
399 | finishInterp = Sin(t * theta) * invSinTheta | |
400 | else | |
401 | startInterp = 1 - t | |
402 | finishInterp = t | |
403 | end | |
404 | elseif 1 + cosTheta > 1.0E-4 then | |
405 | local theta = math.acos(-cosTheta) | |
406 | local invSinTheta = 1 / Sin(theta) | |
407 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
408 | finishInterp = Sin(t * theta) * invSinTheta | |
409 | else | |
410 | startInterp = t - 1 | |
411 | finishInterp = t | |
412 | end | |
413 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
414 | end | |
415 | function rayCast(Position, Direction, Range, Ignore) | |
416 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
417 | end | |
418 | local RbxUtility = LoadLibrary("RbxUtility") | |
419 | local Create = RbxUtility.Create | |
420 | ||
421 | ------------------------------------------------------- | |
422 | --Start Damage Function-- | |
423 | ------------------------------------------------------- | |
424 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
425 | if hit.Parent == nil then | |
426 | return | |
427 | end | |
428 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
429 | for _, v in pairs(hit.Parent:children()) do | |
430 | if v:IsA("Humanoid") then | |
431 | h = v | |
432 | end | |
433 | end | |
434 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
435 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
436 | if hit.Parent.DebounceHit.Value == true then | |
437 | return | |
438 | end | |
439 | end | |
440 | if insta == true then | |
441 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
442 | end | |
443 | local c = Create("ObjectValue"){ | |
444 | Name = "creator", | |
445 | Value = game:service("Players").LocalPlayer, | |
446 | Parent = h, | |
447 | } | |
448 | game:GetService("Debris"):AddItem(c, .5) | |
449 | if HitSound ~= nil and HitPitch ~= nil then | |
450 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
451 | end | |
452 | local Damage = math.random(minim, maxim) | |
453 | local blocked = false | |
454 | local block = hit.Parent:findFirstChild("Block") | |
455 | if block ~= nil then | |
456 | if block.className == "IntValue" then | |
457 | if block.Value > 0 then | |
458 | blocked = true | |
459 | block.Value = block.Value - 1 | |
460 | print(block.Value) | |
461 | end | |
462 | end | |
463 | end | |
464 | if blocked == false then | |
465 | h.Health = h.Health - Damage | |
466 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
467 | else | |
468 | h.Health = h.Health - (Damage / 2) | |
469 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
470 | end | |
471 | if Type == "Knockdown" then | |
472 | local hum = hit.Parent.Humanoid | |
473 | hum.PlatformStand = true | |
474 | coroutine.resume(coroutine.create(function(HHumanoid) | |
475 | swait(1) | |
476 | HHumanoid.PlatformStand = false | |
477 | end), hum) | |
478 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
479 | local bodvol = Create("BodyVelocity"){ | |
480 | velocity = angle * knockback, | |
481 | P = 5000, | |
482 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
483 | Parent = hit, | |
484 | } | |
485 | local rl = Create("BodyAngularVelocity"){ | |
486 | P = 3000, | |
487 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
488 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
489 | Parent = hit, | |
490 | } | |
491 | game:GetService("Debris"):AddItem(bodvol, .5) | |
492 | game:GetService("Debris"):AddItem(rl, .5) | |
493 | elseif Type == "Normal" then | |
494 | local vp = Create("BodyVelocity"){ | |
495 | P = 500, | |
496 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
497 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
498 | } | |
499 | if knockback > 0 then | |
500 | vp.Parent = hit.Parent.Torso | |
501 | end | |
502 | game:GetService("Debris"):AddItem(vp, .5) | |
503 | elseif Type == "Up" then | |
504 | local bodyVelocity = Create("BodyVelocity"){ | |
505 | velocity = Vector3.new(0, 20, 0), | |
506 | P = 5000, | |
507 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
508 | Parent = hit, | |
509 | } | |
510 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
511 | elseif Type == "DarkUp" then | |
512 | coroutine.resume(coroutine.create(function() | |
513 | for i = 0, 1, 0.1 do | |
514 | swait() | |
515 | Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
516 | end | |
517 | end)) | |
518 | local bodyVelocity = Create("BodyVelocity"){ | |
519 | velocity = Vector3.new(0, 20, 0), | |
520 | P = 5000, | |
521 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
522 | Parent = hit, | |
523 | } | |
524 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
525 | elseif Type == "Snare" then | |
526 | local bp = Create("BodyPosition"){ | |
527 | P = 2000, | |
528 | D = 100, | |
529 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
530 | position = hit.Parent.Torso.Position, | |
531 | Parent = hit.Parent.Torso, | |
532 | } | |
533 | game:GetService("Debris"):AddItem(bp, 1) | |
534 | elseif Type == "Freeze" then | |
535 | local BodPos = Create("BodyPosition"){ | |
536 | P = 50000, | |
537 | D = 1000, | |
538 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
539 | position = hit.Parent.Torso.Position, | |
540 | Parent = hit.Parent.Torso, | |
541 | } | |
542 | local BodGy = Create("BodyGyro") { | |
543 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
544 | P = 20e+003, | |
545 | Parent = hit.Parent.Torso, | |
546 | cframe = hit.Parent.Torso.CFrame, | |
547 | } | |
548 | hit.Parent.Torso.Anchored = true | |
549 | coroutine.resume(coroutine.create(function(Part) | |
550 | swait(1.5) | |
551 | Part.Anchored = false | |
552 | end), hit.Parent.Torso) | |
553 | game:GetService("Debris"):AddItem(BodPos, 3) | |
554 | game:GetService("Debris"):AddItem(BodGy, 3) | |
555 | end | |
556 | local debounce = Create("BoolValue"){ | |
557 | Name = "DebounceHit", | |
558 | Parent = hit.Parent, | |
559 | Value = true, | |
560 | } | |
561 | game:GetService("Debris"):AddItem(debounce, Delay) | |
562 | c = Create("ObjectValue"){ | |
563 | Name = "creator", | |
564 | Value = Player, | |
565 | Parent = h, | |
566 | } | |
567 | game:GetService("Debris"):AddItem(c, .5) | |
568 | end | |
569 | end | |
570 | ------------------------------------------------------- | |
571 | --End Damage Function-- | |
572 | ------------------------------------------------------- | |
573 | ||
574 | ------------------------------------------------------- | |
575 | --Start Damage Function Customization-- | |
576 | ------------------------------------------------------- | |
577 | function ShowDamage(Pos, Text, Time, Color) | |
578 | local Rate = (1 / 30) | |
579 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
580 | local Text = (Text or "") | |
581 | local Time = (Time or 2) | |
582 | local Color = (Color or Color3.new(255, 255, 1)) | |
583 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
584 | EffectPart.Anchored = true | |
585 | local BillboardGui = Create("BillboardGui"){ | |
586 | Size = UDim2.new(3, 0, 3, 0), | |
587 | Adornee = EffectPart, | |
588 | Parent = EffectPart, | |
589 | } | |
590 | local TextLabel = Create("TextLabel"){ | |
591 | BackgroundTransparency = 1, | |
592 | Size = UDim2.new(1, 0, 1, 0), | |
593 | Text = Text, | |
594 | Font = "Bodoni", | |
595 | TextColor3 = Color, | |
596 | TextScaled = true, | |
597 | TextStrokeColor3 = Color3.fromRGB(220, 188, 129), | |
598 | Parent = BillboardGui, | |
599 | } | |
600 | game.Debris:AddItem(EffectPart, (Time)) | |
601 | EffectPart.Parent = game:GetService("Workspace") | |
602 | delay(0, function() | |
603 | local Frames = (Time / Rate) | |
604 | for Frame = 1, Frames do | |
605 | wait(Rate) | |
606 | local Percent = (Frame / Frames) | |
607 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
608 | TextLabel.TextTransparency = Percent | |
609 | end | |
610 | if EffectPart and EffectPart.Parent then | |
611 | EffectPart:Destroy() | |
612 | end | |
613 | end) | |
614 | end | |
615 | ------------------------------------------------------- | |
616 | --End Damage Function Customization-- | |
617 | ------------------------------------------------------- | |
618 | ||
619 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
620 | for _, c in pairs(workspace:children()) do | |
621 | local hum = c:findFirstChild("Humanoid") | |
622 | if hum ~= nil then | |
623 | local head = c:findFirstChild("Head") | |
624 | if head ~= nil then | |
625 | local targ = head.Position - Part.Position | |
626 | local mag = targ.magnitude | |
627 | if magni >= mag and c.Name ~= plr.Name then | |
628 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
629 | end | |
630 | end | |
631 | end | |
632 | end | |
633 | end | |
634 | ||
635 | ||
636 | CFuncs = { | |
637 | Part = { | |
638 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
639 | local Part = Create("Part")({ | |
640 | Parent = Parent, | |
641 | Reflectance = Reflectance, | |
642 | Transparency = Transparency, | |
643 | CanCollide = false, | |
644 | Locked = true, | |
645 | BrickColor = BrickColor.new(tostring(BColor)), | |
646 | Name = Name, | |
647 | Size = Size, | |
648 | Material = Material | |
649 | }) | |
650 | RemoveOutlines(Part) | |
651 | return Part | |
652 | end | |
653 | }, | |
654 | Mesh = { | |
655 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
656 | local Msh = Create(Mesh)({ | |
657 | Parent = Part, | |
658 | Offset = OffSet, | |
659 | Scale = Scale | |
660 | }) | |
661 | if Mesh == "SpecialMesh" then | |
662 | Msh.MeshType = MeshType | |
663 | Msh.MeshId = MeshId | |
664 | end | |
665 | return Msh | |
666 | end | |
667 | }, | |
668 | Mesh = { | |
669 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
670 | local Msh = Create(Mesh)({ | |
671 | Parent = Part, | |
672 | Offset = OffSet, | |
673 | Scale = Scale | |
674 | }) | |
675 | if Mesh == "SpecialMesh" then | |
676 | Msh.MeshType = MeshType | |
677 | Msh.MeshId = MeshId | |
678 | end | |
679 | return Msh | |
680 | end | |
681 | }, | |
682 | Weld = { | |
683 | Create = function(Parent, Part0, Part1, C0, C1) | |
684 | local Weld = Create("Weld")({ | |
685 | Parent = Parent, | |
686 | Part0 = Part0, | |
687 | Part1 = Part1, | |
688 | C0 = C0, | |
689 | C1 = C1 | |
690 | }) | |
691 | return Weld | |
692 | end | |
693 | }, | |
694 | Sound = { | |
695 | Create = function(id, par, vol, pit) | |
696 | coroutine.resume(coroutine.create(function() | |
697 | local S = Create("Sound")({ | |
698 | Volume = vol, | |
699 | Pitch = pit or 1, | |
700 | SoundId = id, | |
701 | Parent = par or workspace | |
702 | }) | |
703 | wait() | |
704 | S:play() | |
705 | game:GetService("Debris"):AddItem(S, 6) | |
706 | end)) | |
707 | end | |
708 | }, | |
709 | ParticleEmitter = { | |
710 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
711 | local fp = Create("ParticleEmitter")({ | |
712 | Parent = Parent, | |
713 | Color = ColorSequence.new(Color1, Color2), | |
714 | LightEmission = LightEmission, | |
715 | Size = Size, | |
716 | Texture = Texture, | |
717 | Transparency = Transparency, | |
718 | ZOffset = ZOffset, | |
719 | Acceleration = Accel, | |
720 | Drag = Drag, | |
721 | LockedToPart = LockedToPart, | |
722 | VelocityInheritance = VelocityInheritance, | |
723 | EmissionDirection = EmissionDirection, | |
724 | Enabled = Enabled, | |
725 | Lifetime = LifeTime, | |
726 | Rate = Rate, | |
727 | Rotation = Rotation, | |
728 | RotSpeed = RotSpeed, | |
729 | Speed = Speed, | |
730 | VelocitySpread = VelocitySpread | |
731 | }) | |
732 | return fp | |
733 | end | |
734 | } | |
735 | } | |
736 | function RemoveOutlines(part) | |
737 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
738 | end | |
739 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
740 | local Part = Create("Part")({ | |
741 | formFactor = FormFactor, | |
742 | Parent = Parent, | |
743 | Reflectance = Reflectance, | |
744 | Transparency = Transparency, | |
745 | CanCollide = false, | |
746 | Locked = true, | |
747 | BrickColor = BrickColor.new(tostring(BColor)), | |
748 | Name = Name, | |
749 | Size = Size, | |
750 | Material = Material | |
751 | }) | |
752 | RemoveOutlines(Part) | |
753 | return Part | |
754 | end | |
755 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
756 | local Msh = Create(Mesh)({ | |
757 | Parent = Part, | |
758 | Offset = OffSet, | |
759 | Scale = Scale | |
760 | }) | |
761 | if Mesh == "SpecialMesh" then | |
762 | Msh.MeshType = MeshType | |
763 | Msh.MeshId = MeshId | |
764 | end | |
765 | return Msh | |
766 | end | |
767 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
768 | local Weld = Create("Weld")({ | |
769 | Parent = Parent, | |
770 | Part0 = Part0, | |
771 | Part1 = Part1, | |
772 | C0 = C0, | |
773 | C1 = C1 | |
774 | }) | |
775 | return Weld | |
776 | end | |
777 | ||
778 | ||
779 | ||
780 | ------------------------------------------------------- | |
781 | --End Effect Function-- | |
782 | ------------------------------------------------------- | |
783 | function Cso(ID, PARENT, VOLUME, PITCH) | |
784 | local NSound = nil | |
785 | coroutine.resume(coroutine.create(function() | |
786 | NSound = IT("Sound", PARENT) | |
787 | NSound.Volume = VOLUME | |
788 | NSound.Pitch = PITCH | |
789 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
790 | swait() | |
791 | NSound:play() | |
792 | game:GetService("Debris"):AddItem(NSound, 50) | |
793 | end)) | |
794 | return NSound | |
795 | end | |
796 | function CameraEnshaking(Length, Intensity) | |
797 | coroutine.resume(coroutine.create(function() | |
798 | local intensity = 1 * Intensity | |
799 | local rotM = 0.01 * Intensity | |
800 | for i = 0, Length, 0.1 do | |
801 | swait() | |
802 | intensity = intensity - 0.05 * Intensity / Length | |
803 | rotM = rotM - 5.0E-4 * Intensity / Length | |
804 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
805 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
806 | end | |
807 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
808 | end)) | |
809 | end | |
810 | ------------------------------------------------------- | |
811 | --End Important Functions-- | |
812 | - | hum.WalkSpeed = 16 |
812 | + | |
813 | - | hum.JumpPower = 60 |
813 | + | |
814 | ---------------------------------------------------------------------------------- | |
815 | hum.WalkSpeed = 40 | |
816 | hum.JumpPower = 100 | |
817 | ---------------------------------------------------------------------------------- | |
818 | ||
819 | local AddInstance = function(Object, ...) | |
820 | local Obj = Instance.new(Object) | |
821 | for i,v in next,(...) do | |
822 | Obj[i] = v | |
823 | end | |
824 | return Obj | |
825 | end | |
826 | ---------------------------------------------------- | |
827 | hed.face.Texture = "rbxassetid://939571715" | |
828 | ||
829 | local Reaper = AddInstance("Part",{ | |
830 | Parent = hed, | |
831 | CFrame = hed.CFrame, | |
832 | formFactor = "Symmetric", | |
833 | Size = Vector3.new(1, 1, 1), | |
834 | CanCollide = false, | |
835 | TopSurface = "Smooth", | |
836 | BottomSurface = "Smooth", | |
837 | Locked = true, | |
838 | }) | |
839 | local Weld = AddInstance("Weld",{ | |
840 | Parent = Reaper, | |
841 | Part0 = hed, | |
842 | C0 = CFrame.new(0, 1.45, 0)*CFrame.Angles(0, 0, 0), | |
843 | Part1 = Reaper, | |
844 | }) | |
845 | local Mesh = AddInstance("SpecialMesh",{ | |
846 | Parent = Reaper, | |
847 | MeshId = "rbxassetid://0", | |
848 | TextureId = "rbxassetid://0", | |
849 | Scale = Vector3.new(0.85,0.85,0.85), | |
850 | VertexColor = Vector3.new(1, 1, 1), | |
851 | }) | |
852 | ||
853 | ------------------------------------------------------- | |
854 | IT = Instance.new | |
855 | CF = CFrame.new | |
856 | VT = Vector3.new | |
857 | RAD = math.rad | |
858 | C3 = Color3.new | |
859 | UD2 = UDim2.new | |
860 | BRICKC = BrickColor.new | |
861 | ANGLES = CFrame.Angles | |
862 | EULER = CFrame.fromEulerAnglesXYZ | |
863 | COS = math.cos | |
864 | ACOS = math.acos | |
865 | SIN = math.sin | |
866 | ASIN = math.asin | |
867 | ABS = math.abs | |
868 | MRANDOM = math.random | |
869 | FLOOR = math.floor | |
870 | ||
871 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
872 | local label = IT("TextLabel") | |
873 | label.BackgroundTransparency = 1 | |
874 | label.Size = UD2(1, 0, 1, 0) | |
875 | label.Position = UD2(0, 0, 0, 0) | |
876 | label.TextColor3 = TEXTCOLOR | |
877 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
878 | label.TextTransparency = TRANSPARENCY | |
879 | label.FontSize = TEXTFONTSIZE | |
880 | label.Font = TEXTFONT | |
881 | label.BorderSizePixel = BORDERSIZEPIXEL | |
882 | label.TextScaled = false | |
883 | label.Text = TEXT | |
884 | label.Name = NAME | |
885 | label.Parent = PARENT | |
886 | return label | |
887 | end | |
888 | ||
889 | function chatfunc(text) | |
890 | local chat = coroutine.wrap(function() | |
891 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
892 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
893 | end | |
894 | local Bill = Instance.new("BillboardGui",char) | |
895 | Bill.Size = UDim2.new(0,100,0,40) | |
896 | Bill.StudsOffset = Vector3.new(0,3,0) | |
897 | Bill.Adornee = char.Head | |
898 | Bill.Name = "TalkingBillBoard" | |
899 | local Hehe = Instance.new("TextLabel",Bill) | |
900 | Hehe.BackgroundTransparency = 1 | |
901 | Hehe.BorderSizePixel = 0 | |
902 | Hehe.Text = "" | |
903 | Hehe.Font = "Bodoni" | |
904 | Hehe.TextSize = 40 | |
905 | Hehe.TextStrokeTransparency = 0 | |
906 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
907 | coroutine.resume(coroutine.create(function() | |
908 | while Hehe ~= nil do | |
909 | swait() | |
910 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
911 | Hehe.Rotation = math.random(-5,5) | |
912 | Hehe.TextColor3 = Color3.new(220, 188, 129) | |
913 | Hehe.TextStrokeColor3 = Color3.new(220, 188, 129) | |
914 | end | |
915 | end)) | |
916 | for i = 1,string.len(text),1 do | |
917 | swait() | |
918 | Hehe.Text = string.sub(text,1,i) | |
919 | end | |
920 | swait(90)--Re[math.random(1, 93)] | |
921 | for i = 0, 1, .025 do | |
922 | swait() | |
923 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
924 | Hehe.TextStrokeTransparency = i | |
925 | Hehe.TextTransparency = i | |
926 | end | |
927 | Bill:Destroy() | |
928 | end) | |
929 | chat() | |
930 | end | |
931 | ||
932 | function onChatted(msg) | |
933 | chatfunc(msg) | |
934 | end | |
935 | ||
936 | Player.Chatted:connect(onChatted) | |
937 | ||
938 | for i,v in pairs(char:GetChildren()) do | |
939 | if v:IsA("Shirt") or v:IsA("Hat") then | |
940 | v:Destroy() | |
941 | - | local ab = Instance.new("Decal") |
941 | + | |
942 | - | ab.Parent = char.UpperTorso |
942 | + | |
943 | - | ab.Texture = "http://www.roblox.com/asset/?id=200264388" |
943 | + | for i,v in pairs(char:GetChildren()) do |
944 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
945 | v:Destroy() | |
946 | end | |
947 | end | |
948 | ||
949 | local shirt = Instance.new("Shirt",char) | |
950 | shirt.ShirtTemplate = "rbxassetid://95427692" | |
951 | local pants = Instance.new("Pants",char) | |
952 | pants.PantsTemplate = "rbxassetid://95427742" | |
953 | ||
954 | ||
955 | local color = BrickColor.new("Dark stone grey") | |
956 | -- | |
957 | bowl = Instance.new("Part") | |
958 | - | C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 480.5, 0), |
958 | + | Instance.new("SpecialMesh").Parent = bowl |
959 | bowl.Mesh.MeshType = "FileMesh" | |
960 | bowl.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188" | |
961 | bowl.BrickColor = BrickColor.new("Black") | |
962 | bowl.Mesh.Scale = Vector3.new(1.5, 1.4, 1.5) | |
963 | - | MeshId = "rbxassetid://553688034", |
963 | + | bowl.Parent = UpperTorso |
964 | - | TextureId = "rbxassetid://869796655", |
964 | + | |
965 | - | Scale = Vector3.new(2,2,2), |
965 | + | bowl2 = Instance.new("Part") |
966 | Instance.new("SpecialMesh").Parent = bowl2 | |
967 | bowl2.Mesh.MeshType = "FileMesh" | |
968 | bowl2.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188" | |
969 | bowl2.BrickColor = BrickColor.new("Bright red") | |
970 | bowl2.Mesh.Scale = Vector3.new(1.4, 1.4, 1.4) | |
971 | bowl2.Parent = UpperTorso | |
972 | ||
973 | collar = Instance.new("Weld") | |
974 | collar.Parent = UpperTorso | |
975 | collar.Part0 = bowl | |
976 | collar.Part1 = UpperTorso | |
977 | collar.C0 = collar.C0*CFrame.Angles(0, 0, 3.15) | |
978 | collar.C0 = collar.C0*CFrame.new(0, -0.6, 0) | |
979 | ||
980 | collar2 = Instance.new("Weld") | |
981 | collar2.Parent = UpperTorso | |
982 | collar2.Part0 = bowl2 | |
983 | collar2.Part1 = UpperTorso | |
984 | collar2.C0 = collar2.C0*CFrame.Angles(0, 0, 3.15) | |
985 | collar2.C0 = collar2.C0*CFrame.new(0, -0.6, 0) | |
986 | ||
987 | local Hair = AddInstance("Part",{ | |
988 | Parent = hed, | |
989 | CFrame = hed.CFrame, | |
990 | formFactor = "Symmetric", | |
991 | Size = Vector3.new(1, 1, 1), | |
992 | CanCollide = false, | |
993 | TopSurface = "Smooth", | |
994 | BottomSurface = "Smooth", | |
995 | Locked = true, | |
996 | }) | |
997 | local Weld = AddInstance("Weld",{ | |
998 | Parent = Hair, | |
999 | Part0 = hed, | |
1000 | C0 = CFrame.new(0, 0.45, 0.1)*CFrame.Angles(0, 480.6, 0), | |
1001 | Part1 = Hair, | |
1002 | }) | |
1003 | local Mesh = AddInstance("SpecialMesh",{ | |
1004 | - | id = 1713855118 |
1004 | + | |
1005 | MeshId = "rbxassetid://522898076", | |
1006 | TextureId = "rbxassetid://522898081", | |
1007 | Scale = Vector3.new(0.075,0.075,0.075), | |
1008 | VertexColor = Vector3.new(1, 1, 1), | |
1009 | }) | |
1010 | ||
1011 | local Face = AddInstance("Part",{ | |
1012 | Parent = hed, | |
1013 | CFrame = hed.CFrame, | |
1014 | formFactor = "Symmetric", | |
1015 | Size = Vector3.new(1, 1, 1), | |
1016 | CanCollide = false, | |
1017 | TopSurface = "Smooth", | |
1018 | BottomSurface = "Smooth", | |
1019 | Locked = true, | |
1020 | }) | |
1021 | local Weld = AddInstance("Weld",{ | |
1022 | Parent = Face, | |
1023 | Part0 = hed, | |
1024 | C0 = CFrame.new(0, -0.15, -0.25)*CFrame.Angles(0, 0, 0), | |
1025 | Part1 = Face, | |
1026 | }) | |
1027 | local Mesh = AddInstance("SpecialMesh",{ | |
1028 | Parent = Face, | |
1029 | MeshId = "rbxassetid://977587967", | |
1030 | TextureId = "rbxassetid://977587976", | |
1031 | Scale = Vector3.new(0.072,0.072,0.075), | |
1032 | VertexColor = Vector3.new(1, 1, 1), | |
1033 | }) | |
1034 | ||
1035 | ||
1036 | swait() | |
1037 | plr = game.Players.LocalPlayer | |
1038 | char = plr.Character | |
1039 | mouse = plr:GetMouse() | |
1040 | whitecolor = Color3.new(220, 188, 129) | |
1041 | epicmode = false | |
1042 | normal = true | |
1043 | for i,v in pairs(char:GetChildren()) do | |
1044 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
1045 | v:Destroy() | |
1046 | end | |
1047 | end | |
1048 | ||
1049 | cam = game.Workspace.CurrentCamera | |
1050 | CF = CFrame.new | |
1051 | angles = CFrame.Angles | |
1052 | attack = false | |
1053 | Euler = CFrame.fromEulerAnglesXYZ | |
1054 | Rad = math.rad | |
1055 | IT = Instance.new | |
1056 | BrickC = BrickColor.new | |
1057 | Cos = math.cos | |
1058 | Acos = math.acos | |
1059 | Sin = math.sin | |
1060 | Asin = math.asin | |
1061 | Abs = math.abs | |
1062 | Mrandom = math.random | |
1063 | Floor = math.floor | |
1064 | ||
1065 | themee = Instance.new("Sound", Head) | |
1066 | themee.Volume = 1 | |
1067 | themee.Name = "themee" | |
1068 | themee.Looped = true | |
1069 | ||
1070 | id = 2705863687 | |
1071 | themee.SoundId = "rbxassetid://"..id | |
1072 | themee:Play() | |
1073 | ||
1074 | ||
1075 | ||
1076 | function Eviscerate(dude) | |
1077 | if dude.Name ~= char then | |
1078 | local bgf = IT("BodyGyro", dude.Head) | |
1079 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1080 | local val = IT("BoolValue", dude) | |
1081 | val.Name = "IsHit" | |
1082 | local ds = coroutine.wrap(function() | |
1083 | dude:WaitForChild("Head"):BreakJoints() | |
1084 | wait(0.5) | |
1085 | target = nil | |
1086 | coroutine.resume(coroutine.create(function() | |
1087 | for i, v in pairs(dude:GetChildren()) do | |
1088 | if v:IsA("Accessory") then | |
1089 | v:Destroy() | |
1090 | end | |
1091 | if v:IsA("Humanoid") then | |
1092 | v:Destroy() | |
1093 | end | |
1094 | if v:IsA("charMesh") then | |
1095 | v:Destroy() | |
1096 | end | |
1097 | if v:IsA("Model") then | |
1098 | v:Destroy() | |
1099 | end | |
1100 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1101 | for x, o in pairs(v:GetChildren()) do | |
1102 | if o:IsA("Decal") then | |
1103 | o:Destroy() | |
1104 | end | |
1105 | end | |
1106 | coroutine.resume(coroutine.create(function() | |
1107 | v.Material = "Neon" | |
1108 | v.CanCollide = false | |
1109 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1110 | PartEmmit1.LightEmission = 1 | |
1111 | PartEmmit1.Texture = "rbxassetid://243160943" | |
1112 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1113 | PartEmmit1.Rate = 150 | |
1114 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1115 | PartEmmit1.Size = NumberSequence.new({ | |
1116 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1117 | NumberSequenceKeypoint.new(1, 0, 0) | |
1118 | }) | |
1119 | PartEmmit1.Transparency = NumberSequence.new({ | |
1120 | NumberSequenceKeypoint.new(0, 0, 0), | |
1121 | NumberSequenceKeypoint.new(1, 1, 0) | |
1122 | }) | |
1123 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1124 | PartEmmit1.VelocitySpread = 30000 | |
1125 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1126 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1127 | local BodPoss = IT("BodyPosition", v) | |
1128 | BodPoss.P = 3000 | |
1129 | BodPoss.D = 1000 | |
1130 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1131 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1132 | v.Color = maincolor.Color | |
1133 | coroutine.resume(coroutine.create(function() | |
1134 | for i = 0, 49 do | |
1135 | swait(1) | |
1136 | v.Transparency = v.Transparency + 0.08 | |
1137 | end | |
1138 | wait(0.5) | |
1139 | - | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(27, 42, 53), 2, maincolor, "Sphere") |
1139 | + | |
1140 | wait(3) | |
1141 | - | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, maincolor, "Sphere") |
1141 | + | |
1142 | - | Cso("2220756150", hed, 10, 1.1) |
1142 | + | |
1143 | - | Cso("2847401943", hed, 10, 1.1) |
1143 | + | |
1144 | end)) | |
1145 | end | |
1146 | end | |
1147 | end)) | |
1148 | end) | |
1149 | ds() | |
1150 | end | |
1151 | end | |
1152 | ||
1153 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1154 | if SinglePlayer then | |
1155 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1156 | end | |
1157 | - | local aura = Instance.new("ParticleEmitter", bem) |
1157 | + | |
1158 | - | aura.Size = NumberSequence.new(11) |
1158 | + | |
1159 | - | aura.Lifetime = NumberRange.new(0.5) |
1159 | + | |
1160 | - | aura.LightEmission = 1 |
1160 | + | |
1161 | - | aura.Texture = "http://www.roblox.com/asset/?id=" |
1161 | + | |
1162 | - | aura.Speed = NumberRange.new(0) |
1162 | + | |
1163 | - | aura.Color = ColorSequence.new(Color3.new(225, 225, 0)) |
1163 | + | |
1164 | - | aura.Rate = 400 |
1164 | + | |
1165 | ||
1166 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
1167 | local type = type | |
1168 | local rng = Instance.new("Part", char) | |
1169 | rng.Anchored = true | |
1170 | rng.BrickColor = color | |
1171 | rng.CanCollide = false | |
1172 | rng.FormFactor = 3 | |
1173 | rng.Name = "Ring" | |
1174 | rng.Material = "Neon" | |
1175 | rng.Size = Vector3.new(1, 1, 1) | |
1176 | rng.Transparency = 0 | |
1177 | rng.TopSurface = 0 | |
1178 | - | if Press=='c' then |
1178 | + | |
1179 | - | id = 2979417135 |
1179 | + | |
1180 | local rngm = Instance.new("SpecialMesh", rng) | |
1181 | rngm.MeshType = MType | |
1182 | - | tecks2.Text = "I'l show you the true power of teapot" |
1182 | + | |
1183 | - | wait(2) |
1183 | + | |
1184 | if type == "Add" then | |
1185 | - | wait() |
1185 | + | |
1186 | - | tecks2.Text = "Are you ready?" |
1186 | + | |
1187 | - | wait(3) |
1187 | + | |
1188 | end | |
1189 | - | wait() |
1189 | + | |
1190 | - | hum.WalkSpeed = 50 |
1190 | + | |
1191 | swait() | |
1192 | - | local l = game.Lighting |
1192 | + | |
1193 | - | tecks2.Text = "Balanced Teapot" |
1193 | + | |
1194 | - | ab:Destroy() |
1194 | + | |
1195 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1196 | end | |
1197 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1198 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1199 | end | |
1200 | - | local Aura = Instance.new("ParticleEmitter") |
1200 | + | |
1201 | - | Aura.Name = "Aura" |
1201 | + | |
1202 | - | Aura.Texture = "rbxassetid://1035402677" |
1202 | + | |
1203 | - | Aura.Parent = UpperTorso |
1203 | + | |
1204 | - | Aura.LightEmission = 0.7 |
1204 | + | Cso("3214620949", hed, 10, 1.1) |
1205 | - | Aura.Transparency = NumberSequence.new(0.3, 1) |
1205 | + | wait(1.5) |
1206 | - | Aura.Color = ColorSequence.new(BrickColor.new("Bright reddish violet").Color) |
1206 | + | |
1207 | - | Aura.Size = NumberSequence.new(0.7, 11) |
1207 | + | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(27, 42, 53), 2, mainecolor, "Sphere") |
1208 | - | Aura.LockedToPart = true |
1208 | + | |
1209 | - | Aura.Lifetime = NumberRange.new(1.5) |
1209 | + | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, mainecolor, "Sphere") |
1210 | - | Aura.Rate = 50 |
1210 | + | wait(0.5) |
1211 | - | Aura.Speed = NumberRange.new(1.3) |
1211 | + | Cso("535817500", hed, 10, 1.1) |
1212 | - | Aura.EmissionDirection = "Top" |
1212 | + | Cso("2011915907", hed, 10, 1.1) |
1213 | - | Aura.Rotation = NumberRange.new(-8, 8) |
1213 | + | |
1214 | if v:FindFirstChild("Head") then | |
1215 | - | shirt.ShirtTemplate = "rbxassetid://63495743" |
1215 | + | |
1216 | end | |
1217 | - | pants.PantsTemplate = "rbxassetid://55034555" |
1217 | + | |
1218 | - | local BC = char["Body Colors"] |
1218 | + | wait(0.5) |
1219 | - | BC.HeadColor = BrickColor.new("Earth orange") |
1219 | + | Cso("0", hed, 10, 1.1) |
1220 | - | BC.LeftArmColor = BrickColor.new("Earth orange") |
1220 | + | |
1221 | - | BC.LeftLegColor = BrickColor.new("Earth orange") |
1221 | + | |
1222 | - | BC.RightArmColor = BrickColor.new("Earth orange") |
1222 | + | |
1223 | - | BC.RightLegColor = BrickColor.new("Earth orange") |
1223 | + | |
1224 | - | BC.TorsoColor = BrickColor.new("Earth orange") |
1224 | + | |
1225 | end | |
1226 | end) | |
1227 | ||
1228 | - | local env = getfenv(func) |
1228 | + | local aura = Instance.new("ParticleEmitter", bem) |
1229 | - | local newenv = setmetatable({},{ |
1229 | + | aura.Size = NumberSequence.new(11) |
1230 | aura.Lifetime = NumberRange.new(0.5) | |
1231 | - | if k=="script" then |
1231 | + | aura.LightEmission = 1 |
1232 | - | return var |
1232 | + | aura.Texture = "http://www.roblox.com/asset/?id=" |
1233 | - | else |
1233 | + | aura.Speed = NumberRange.new(0) |
1234 | - | return env[k] |
1234 | + | aura.Color = ColorSequence.new(Color3.new(225, 225, 0)) |
1235 | aura.Rate = 400 | |
1236 | ----------------------------------------------- | |
1237 | ||
1238 | - | setfenv(func,newenv) |
1238 | + | |
1239 | - | return func |
1239 | + | |
1240 | if Press=='z' then | |
1241 | id = 0 | |
1242 | themee.SoundId = "rbxassetid://"..id | |
1243 | - | Sky0 = Instance.new("Sky") |
1243 | + | |
1244 | - | Sky0.Name = "Stardust Speedway (good future) Skybox" |
1244 | + | |
1245 | - | Sky0.Parent = mas |
1245 | + | |
1246 | - | Sky0.CelestialBodiesShown = false |
1246 | + | |
1247 | - | Sky0.SkyboxBk = "http://www.roblox.com/asset/?id=160314837" |
1247 | + | mouse.KeyDown:connect(function(Press) |
1248 | - | Sky0.SkyboxDn = "http://www.roblox.com/asset/?id=160328515" |
1248 | + | |
1249 | - | Sky0.SkyboxFt = "http://www.roblox.com/asset/?id=160314896" |
1249 | + | if Press=='e' then |
1250 | - | Sky0.SkyboxLf = "http://www.roblox.com/asset/?id=160314866" |
1250 | + | Cso("147722098", hed, 10, 1.1) |
1251 | - | Sky0.SkyboxRt = "http://www.roblox.com/asset/?id=160314805" |
1251 | + | |
1252 | - | Sky0.SkyboxUp = "http://www.roblox.com/asset/?id=160314977" |
1252 | + | |
1253 | - | Sky0.StarCount = 0 |
1253 | + | |
1254 | local env = getfenv(func) | |
1255 | - | v.Parent = game:GetService("Lighting") |
1255 | + | local newenv = setmetatable({},{ |
1256 | - | pcall(function() v:MakeJoints() end) |
1256 | + | __index = function(self,k) |
1257 | if k=="script" then | |
1258 | return var | |
1259 | else | |
1260 | - | spawn(function() |
1260 | + | return env[k] |
1261 | - | pcall(v) |
1261 | + | end |
1262 | end, | |
1263 | }) | |
1264 | setfenv(func,newenv) | |
1265 | return func | |
1266 | end | |
1267 | - | local env = getfenv(func) |
1267 | + | |
1268 | - | local newenv = setmetatable({},{ |
1268 | + | |
1269 | Model0 = Instance.new("Model") | |
1270 | - | if k=="script" then |
1270 | + | Part1 = Instance.new("Part") |
1271 | - | return var |
1271 | + | Part2 = Instance.new("Part") |
1272 | - | else |
1272 | + | Part3 = Instance.new("Part") |
1273 | - | return env[k] |
1273 | + | Part4 = Instance.new("Part") |
1274 | Model5 = Instance.new("Model") | |
1275 | Part6 = Instance.new("Part") | |
1276 | Decal7 = Instance.new("Decal") | |
1277 | - | setfenv(func,newenv) |
1277 | + | Part8 = Instance.new("Part") |
1278 | - | return func |
1278 | + | Part9 = Instance.new("Part") |
1279 | Part10 = Instance.new("Part") | |
1280 | Part11 = Instance.new("Part") | |
1281 | - | mask = Instance.new("Model",game:GetService("Lighting")) |
1281 | + | Model0.Parent = mas |
1282 | Part1.Parent = Model0 | |
1283 | - | Model1 = Instance.new("Model") |
1283 | + | Part1.CFrame = CFrame.new(15.8591118, 13.3249426, 7.60138321, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1284 | - | UnionOperation2 = Instance.new("UnionOperation") |
1284 | + | Part1.Position = Vector3.new(15.8591118, 13.3249426, 7.60138321) |
1285 | - | UnionOperation3 = Instance.new("UnionOperation") |
1285 | + | Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1286 | - | Decal4 = Instance.new("Decal") |
1286 | + | Part1.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1287 | - | Decal5 = Instance.new("Decal") |
1287 | + | Part1.Anchored = true |
1288 | - | Decal6 = Instance.new("Decal") |
1288 | + | Part1.BottomSurface = Enum.SurfaceType.Smooth |
1289 | Part1.BrickColor = BrickColor.new("Really black") | |
1290 | - | Decal8 = Instance.new("Decal") |
1290 | + | Part1.TopSurface = Enum.SurfaceType.Smooth |
1291 | - | Decal9 = Instance.new("Decal") |
1291 | + | Part1.brickColor = BrickColor.new("Really black") |
1292 | - | Decal10 = Instance.new("Decal") |
1292 | + | Part1.FormFactor = Enum.FormFactor.Symmetric |
1293 | - | Decal11 = Instance.new("Decal") |
1293 | + | Part1.formFactor = Enum.FormFactor.Symmetric |
1294 | - | Decal12 = Instance.new("Decal") |
1294 | + | Part1.Shape = Enum.PartType.Ball |
1295 | - | Decal13 = Instance.new("Decal") |
1295 | + | Part2.Parent = Model0 |
1296 | - | SpotLight14 = Instance.new("SpotLight") |
1296 | + | Part2.CFrame = CFrame.new(17.4587326, 6.47115898, 3.09806633, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1297 | - | Script15 = Instance.new("Script") |
1297 | + | Part2.Position = Vector3.new(17.4587326, 6.47115898, 3.09806633) |
1298 | - | Camera16 = Instance.new("Camera") |
1298 | + | Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1299 | - | Part17 = Instance.new("Part") |
1299 | + | Part2.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1300 | - | Model0.Parent = mask |
1300 | + | Part2.Anchored = true |
1301 | - | Model1.Name = "V A P O R W A V E" |
1301 | + | Part2.BottomSurface = Enum.SurfaceType.Smooth |
1302 | - | Model1.Parent = Model0 |
1302 | + | Part2.BrickColor = BrickColor.new("Really black") |
1303 | - | UnionOperation2.Parent = Model1 |
1303 | + | Part2.TopSurface = Enum.SurfaceType.Smooth |
1304 | - | UnionOperation2.CFrame = CFrame.new(-329.258545, 186.240417, -2.00901389, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1304 | + | Part2.brickColor = BrickColor.new("Really black") |
1305 | - | UnionOperation2.Position = Vector3.new(-329.258545, 186.240417, -2.00901389) |
1305 | + | Part2.FormFactor = Enum.FormFactor.Symmetric |
1306 | - | UnionOperation2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1306 | + | Part2.formFactor = Enum.FormFactor.Symmetric |
1307 | - | UnionOperation2.Size = Vector3.new(10.9342766, 103.87542, 103.87545) |
1307 | + | Part2.Shape = Enum.PartType.Ball |
1308 | - | UnionOperation2.Anchored = true |
1308 | + | Part3.Parent = Model0 |
1309 | - | UnionOperation2.BrickColor = BrickColor.new("Really black") |
1309 | + | Part3.CFrame = CFrame.new(23.9076576, 10.2099094, 6.7016964, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1310 | - | UnionOperation2.Material = Enum.Material.Neon |
1310 | + | Part3.Position = Vector3.new(23.9076576, 10.2099094, 6.7016964) |
1311 | - | UnionOperation2.brickColor = BrickColor.new("Really black") |
1311 | + | Part3.Color = Color3.new(0.929412, 0.917647, 0.917647) |
1312 | - | UnionOperation2.UsePartColor = true |
1312 | + | Part3.Size = Vector3.new(16.1778584, 16.1778584, 16.1778584) |
1313 | - | UnionOperation3.Parent = Model1 |
1313 | + | Part3.Anchored = true |
1314 | - | UnionOperation3.CFrame = CFrame.new(-328.137634, 191.789581, -7.12074614, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1314 | + | Part3.BottomSurface = Enum.SurfaceType.Smooth |
1315 | - | UnionOperation3.Position = Vector3.new(-328.137634, 191.789581, -7.12074614) |
1315 | + | Part3.BrickColor = BrickColor.new("Lily white") |
1316 | - | UnionOperation3.Color = Color3.new(0.854902, 0.521569, 0.254902) |
1316 | + | Part3.TopSurface = Enum.SurfaceType.Smooth |
1317 | - | UnionOperation3.Size = Vector3.new(10.9342766, 103.87542, 103.87545) |
1317 | + | Part3.brickColor = BrickColor.new("Lily white") |
1318 | - | UnionOperation3.Anchored = true |
1318 | + | Part3.FormFactor = Enum.FormFactor.Symmetric |
1319 | - | UnionOperation3.BrickColor = BrickColor.new("Bright orange") |
1319 | + | Part3.formFactor = Enum.FormFactor.Symmetric |
1320 | - | UnionOperation3.Material = Enum.Material.Neon |
1320 | + | Part3.Shape = Enum.PartType.Ball |
1321 | - | UnionOperation3.brickColor = BrickColor.new("Bright orange") |
1321 | + | Part4.Parent = Model0 |
1322 | - | UnionOperation3.UsePartColor = true |
1322 | + | Part4.CFrame = CFrame.new(29.9086113, 6.57268953, 2.38253403, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1323 | - | Decal4.Name = "White Fade Up" |
1323 | + | Part4.Position = Vector3.new(29.9086113, 6.57268953, 2.38253403) |
1324 | - | Decal4.Parent = UnionOperation3 |
1324 | + | Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1325 | - | Decal4.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1325 | + | Part4.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1326 | - | Decal4.Transparency = 0.20000000298023 |
1326 | + | Part4.Anchored = true |
1327 | - | Decal4.Face = Enum.NormalId.Right |
1327 | + | Part4.BottomSurface = Enum.SurfaceType.Smooth |
1328 | - | Decal4.Color3 = Color3.new(1, 0.333333, 1) |
1328 | + | Part4.BrickColor = BrickColor.new("Really black") |
1329 | - | Decal5.Name = "White Fade Up" |
1329 | + | Part4.TopSurface = Enum.SurfaceType.Smooth |
1330 | - | Decal5.Parent = UnionOperation3 |
1330 | + | Part4.brickColor = BrickColor.new("Really black") |
1331 | - | Decal5.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1331 | + | Part4.FormFactor = Enum.FormFactor.Symmetric |
1332 | - | Decal5.Transparency = 0.20000000298023 |
1332 | + | Part4.formFactor = Enum.FormFactor.Symmetric |
1333 | - | Decal5.Color3 = Color3.new(1, 0.333333, 1) |
1333 | + | Part4.Shape = Enum.PartType.Ball |
1334 | - | Decal6.Name = "White Fade Up" |
1334 | + | Model5.Parent = Model0 |
1335 | - | Decal6.Parent = UnionOperation3 |
1335 | + | Part6.Parent = Model5 |
1336 | - | Decal6.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1336 | + | Part6.CFrame = CFrame.new(23.9785767, 22.1493645, 9.27209187, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1337 | - | Decal6.Transparency = 0.20000000298023 |
1337 | + | Part6.Position = Vector3.new(23.9785767, 22.1493645, 9.27209187) |
1338 | - | Decal6.Face = Enum.NormalId.Left |
1338 | + | Part6.Color = Color3.new(0.972549, 0.972549, 0.972549) |
1339 | - | Decal6.Color3 = Color3.new(1, 0.333333, 1) |
1339 | + | Part6.Size = Vector3.new(12.9422855, 12.9422855, 12.9422855) |
1340 | - | Decal7.Name = "White Fade Up" |
1340 | + | Part6.Anchored = true |
1341 | - | Decal7.Parent = UnionOperation3 |
1341 | + | Part6.BottomSurface = Enum.SurfaceType.Smooth |
1342 | - | Decal7.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1342 | + | Part6.BrickColor = BrickColor.new("Institutional white") |
1343 | - | Decal7.Transparency = 0.20000000298023 |
1343 | + | Part6.TopSurface = Enum.SurfaceType.Smooth |
1344 | - | Decal7.Face = Enum.NormalId.Back |
1344 | + | Part6.brickColor = BrickColor.new("Institutional white") |
1345 | - | Decal7.Color3 = Color3.new(1, 0.333333, 1) |
1345 | + | Part6.FormFactor = Enum.FormFactor.Symmetric |
1346 | - | Decal8.Name = "white_fade" |
1346 | + | Part6.formFactor = Enum.FormFactor.Symmetric |
1347 | - | Decal8.Parent = UnionOperation3 |
1347 | + | Part6.Shape = Enum.PartType.Ball |
1348 | - | Decal8.Texture = "http://www.roblox.com/asset/?id=2070896512" |
1348 | + | Decal7.Parent = Part6 |
1349 | - | Decal8.Transparency = 0.20000000298023 |
1349 | + | Decal7.Texture = "http://www.roblox.com/asset/?id=473719228" |
1350 | - | Decal8.Face = Enum.NormalId.Bottom |
1350 | + | Part8.Parent = Model5 |
1351 | - | Decal8.Color3 = Color3.new(0.333333, 0, 0.498039) |
1351 | + | Part8.CFrame = CFrame.new(19.1252213, 27.2037086, 9.55143642, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1352 | - | Decal9.Name = "White Fade Up" |
1352 | + | Part8.Position = Vector3.new(19.1252213, 27.2037086, 9.55143642) |
1353 | - | Decal9.Parent = UnionOperation3 |
1353 | + | Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1354 | - | Decal9.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1354 | + | Part8.Size = Vector3.new(3.23557138, 3.23557138, 3.23557138) |
1355 | - | Decal9.Transparency = 0.20000000298023 |
1355 | + | Part8.Anchored = true |
1356 | - | Decal9.Face = Enum.NormalId.Right |
1356 | + | Part8.BottomSurface = Enum.SurfaceType.Smooth |
1357 | - | Decal9.Color3 = Color3.new(1, 0.333333, 1) |
1357 | + | Part8.BrickColor = BrickColor.new("Really black") |
1358 | - | Decal10.Name = "White Fade Up" |
1358 | + | Part8.TopSurface = Enum.SurfaceType.Smooth |
1359 | - | Decal10.Parent = UnionOperation3 |
1359 | + | Part8.brickColor = BrickColor.new("Really black") |
1360 | - | Decal10.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1360 | + | Part8.FormFactor = Enum.FormFactor.Symmetric |
1361 | - | Decal10.Transparency = 0.20000000298023 |
1361 | + | Part8.formFactor = Enum.FormFactor.Symmetric |
1362 | - | Decal10.Face = Enum.NormalId.Left |
1362 | + | Part8.Shape = Enum.PartType.Ball |
1363 | - | Decal10.Color3 = Color3.new(1, 0.333333, 1) |
1363 | + | Part9.Parent = Model5 |
1364 | - | Decal11.Name = "White Fade Up" |
1364 | + | Part9.CFrame = CFrame.new(23.9785767, 22.1619034, 9.51090145, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1365 | - | Decal11.Parent = UnionOperation3 |
1365 | + | Part9.Position = Vector3.new(23.9785767, 22.1619034, 9.51090145) |
1366 | - | Decal11.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1366 | + | Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1367 | - | Decal11.Transparency = 0.20000000298023 |
1367 | + | Part9.Size = Vector3.new(12.9422855, 12.9422855, 12.9422855) |
1368 | - | Decal11.Face = Enum.NormalId.Back |
1368 | + | Part9.Anchored = true |
1369 | - | Decal11.Color3 = Color3.new(1, 0.333333, 1) |
1369 | + | Part9.BottomSurface = Enum.SurfaceType.Smooth |
1370 | - | Decal12.Name = "White Fade Up" |
1370 | + | Part9.BrickColor = BrickColor.new("Really black") |
1371 | - | Decal12.Parent = UnionOperation3 |
1371 | + | Part9.TopSurface = Enum.SurfaceType.Smooth |
1372 | - | Decal12.Texture = "http://www.roblox.com/asset/?id=2288875354" |
1372 | + | Part9.brickColor = BrickColor.new("Really black") |
1373 | - | Decal12.Transparency = 0.20000000298023 |
1373 | + | Part9.FormFactor = Enum.FormFactor.Symmetric |
1374 | - | Decal12.Color3 = Color3.new(1, 0.333333, 1) |
1374 | + | Part9.formFactor = Enum.FormFactor.Symmetric |
1375 | - | Decal13.Name = "white_fade" |
1375 | + | Part9.Shape = Enum.PartType.Ball |
1376 | - | Decal13.Parent = UnionOperation3 |
1376 | + | Part10.Parent = Model5 |
1377 | - | Decal13.Texture = "http://www.roblox.com/asset/?id=2070896512" |
1377 | + | Part10.CFrame = CFrame.new(28.0688019, 27.3284645, 9.27209282, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1378 | - | Decal13.Transparency = 0.20000000298023 |
1378 | + | Part10.Position = Vector3.new(28.0688019, 27.3284645, 9.27209282) |
1379 | - | Decal13.Face = Enum.NormalId.Top |
1379 | + | Part10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1380 | - | Decal13.Color3 = Color3.new(1, 0.333333, 1) |
1380 | + | Part10.Size = Vector3.new(3.23557138, 3.23557138, 3.23557138) |
1381 | - | SpotLight14.Parent = UnionOperation3 |
1381 | + | Part10.Anchored = true |
1382 | - | SpotLight14.Color = Color3.new(0, 0, 1) |
1382 | + | Part10.BottomSurface = Enum.SurfaceType.Smooth |
1383 | - | SpotLight14.Face = Enum.NormalId.Bottom |
1383 | + | Part10.BrickColor = BrickColor.new("Really black") |
1384 | - | SpotLight14.Brightness = 40 |
1384 | + | Part10.TopSurface = Enum.SurfaceType.Smooth |
1385 | - | Script15.Parent = Model1 |
1385 | + | Part10.brickColor = BrickColor.new("Really black") |
1386 | - | table.insert(cors,sandbox(Script15,function() |
1386 | + | Part10.FormFactor = Enum.FormFactor.Symmetric |
1387 | - | --This model was created by Dr_Kylak-- |
1387 | + | Part10.formFactor = Enum.FormFactor.Symmetric |
1388 | Part10.Shape = Enum.PartType.Ball | |
1389 | - | --https://www.roblox.com/users/51636134/profile-- |
1389 | + | Part11.Parent = Model5 |
1390 | Part11.CFrame = CFrame.new(32.2036057, 13.0941849, 9.28808975, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1391 | - | -- (: -- |
1391 | + | Part11.Position = Vector3.new(32.2036057, 13.0941849, 9.28808975) |
1392 | Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1393 | - | Camera16.Name = "ThumbnailCamera" |
1393 | + | Part11.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1394 | - | Camera16.Parent = Model1 |
1394 | + | Part11.Anchored = true |
1395 | - | Camera16.CFrame = CFrame.new(7.2665081, 66.8978577, 148.874191, 0.0179226417, 0.0313822776, 0.999346852, 1.16415308e-10, 0.999507427, -0.0313873179, -0.999839365, 0.000562543748, 0.0179138128) |
1395 | + | Part11.BottomSurface = Enum.SurfaceType.Smooth |
1396 | - | Camera16.CoordinateFrame = CFrame.new(7.2665081, 66.8978577, 148.874191, 0.0179226417, 0.0313822776, 0.999346852, 1.16415308e-10, 0.999507427, -0.0313873179, -0.999839365, 0.000562543748, 0.0179138128) |
1396 | + | Part11.BrickColor = BrickColor.new("Really black") |
1397 | - | Camera16.Focus = CFrame.new(5.26781368, 66.9606323, 148.838364, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1397 | + | Part11.TopSurface = Enum.SurfaceType.Smooth |
1398 | - | Camera16.focus = CFrame.new(5.26781368, 66.9606323, 148.838364, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1398 | + | Part11.brickColor = BrickColor.new("Really black") |
1399 | - | Part17.Parent = Model0 |
1399 | + | Part11.FormFactor = Enum.FormFactor.Symmetric |
1400 | - | Part17.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1400 | + | Part11.formFactor = Enum.FormFactor.Symmetric |
1401 | - | Part17.Position = Vector3.new(0, 0.5, 0) |
1401 | + | Part11.Shape = Enum.PartType.Ball |
1402 | - | Part17.Color = Color3.new(0.419608, 0.196078, 0.486275) |
1402 | + | |
1403 | - | Part17.Size = Vector3.new(512, 1, 512) |
1403 | + | v.Parent = script |
1404 | - | Part17.BottomSurface = Enum.SurfaceType.Smooth |
1404 | + | pcall(function() v:MakeJoints() end) |
1405 | - | Part17.BrickColor = BrickColor.new("Bright violet") |
1405 | + | |
1406 | - | Part17.Material = Enum.Material.Neon |
1406 | + | |
1407 | - | Part17.TopSurface = Enum.SurfaceType.Smooth |
1407 | + | |
1408 | - | Part17.brickColor = BrickColor.new("Bright violet") |
1408 | + | spawn(function() |
1409 | - | for i,v in pairs(mask:GetChildren()) do |
1409 | + | pcall(v) |
1410 | - | v.Parent = workspace |
1410 | + | end) |
1411 | - | pcall(function() v:MakeJoints() end) |
1411 | + | |
1412 | ||
1413 | - | mask:Destroy() |
1413 | + | |
1414 | ||
1415 | - | spawn(function() |
1415 | + | |
1416 | - | pcall(v) |
1416 | + | |
1417 | ||
1418 | mouse.KeyDown:connect(function(Press) | |
1419 | Press=Press:lower() | |
1420 | if Press=='x' then | |
1421 | id = 2705863687 | |
1422 | - | local env = getfenv(func) |
1422 | + | |
1423 | - | local newenv = setmetatable({},{ |
1423 | + | |
1424 | end | |
1425 | - | if k=="script" then |
1425 | + | |
1426 | - | return var |
1426 | + | |
1427 | - | else |
1427 | + | |
1428 | - | return env[k] |
1428 | + | |
1429 | if Press=='f' then | |
1430 | Cso("2847401350", hed, 10, 1.1) | |
1431 | dist = (tors.Position - mouse.Hit.p).magnitude | |
1432 | - | setfenv(func,newenv) |
1432 | + | |
1433 | - | return func |
1433 | + | |
1434 | end | |
1435 | end | |
1436 | - | maska = Instance.new("Model",game:GetService("Lighting")) |
1436 | + |