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('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 = "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 RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
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 | ------------------------------------------------------- | |
813 | ||
814 | ---------------------------------------------------------------------------------- | |
815 | hum.WalkSpeed = 40 | |
816 | - | hum.JumpPower = 100 |
816 | + | hum.JumpPower = 120 |
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 | end | |
942 | end | |
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 | 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 | bowl.Parent = UpperTorso | |
964 | ||
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 | Parent = Hair, | |
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 | PartEmmit1.Enabled = false | |
1140 | wait(3) | |
1141 | v:Destroy() | |
1142 | dude:Destroy() | |
1143 | end)) | |
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 List = {} | |
1158 | for i, v in pairs(workspace:GetChildren()) do | |
1159 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1160 | table.insert(List, v) | |
1161 | end | |
1162 | end | |
1163 | return List | |
1164 | end | |
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 | rng.BottomSurface = 0 | |
1179 | rng.CFrame = pos | |
1180 | local rngm = Instance.new("SpecialMesh", rng) | |
1181 | rngm.MeshType = MType | |
1182 | rngm.Scale = scale | |
1183 | local scaler2 = 1 | |
1184 | if type == "Add" then | |
1185 | scaler2 = 1 * value | |
1186 | elseif type == "Divide" then | |
1187 | scaler2 = 1 / value | |
1188 | end | |
1189 | coroutine.resume(coroutine.create(function() | |
1190 | for i = 0, 10 / bonuspeed, 0.1 do | |
1191 | swait() | |
1192 | if type == "Add" then | |
1193 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1194 | elseif type == "Divide" then | |
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 | rng:Destroy() | |
1201 | end)) | |
1202 | end | |
1203 | local v3 = Vector3.new | |
1204 | local idle = true | |
1205 | - | wait(1.5) |
1205 | + | |
1206 | local walk1 = true | |
1207 | local walkon = true | |
1208 | local ns = NumberSequence.new | |
1209 | local new = Instance.new | |
1210 | local nr = NumberRange.new | |
1211 | local bc =BrickColor.new | |
1212 | local UpperTorso = char.UpperTorso | |
1213 | local Waist = char.UpperTorso.Waist | |
1214 | local rad = math.rad | |
1215 | function Ban() | |
1216 | Cso("3214620949", hed, 10, 1.1) | |
1217 | for i = 1,20 do | |
1218 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(26.299), math.rad(-0.229), math.rad(-90.413)),.3) --LeftUpperArm | |
1219 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(5.386), 0, math.rad(88.293)),.3)--RightUpperArm | |
1220 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(19.137),rad(0),rad(0)),.3)--LeftLowerArm | |
1221 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(31.971),rad(0),rad(0)),.3)--RightLowerArm | |
1222 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(6.704), math.rad(-2.12), math.rad(-17.418)),.3)--LeftUpperLeg | |
1223 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(12.605), math.rad(3.953), math.rad(17.074)),.3)--RightUpperLeg | |
1224 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10.886),rad(0),rad(0)),.3)--LeftLowerLeg | |
1225 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-12.49),rad(0),rad(0)),.3)--RightUpperLeg | |
1226 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Torso | |
1227 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1228 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1229 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1230 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1231 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1232 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(21.658),rad(0),rad(0)),.3)--Head | |
1233 | wait() | |
1234 | end | |
1235 | for i = 1,20 do | |
1236 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
1237 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1238 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1239 | - | local v3 = Vector3.new |
1239 | + | |
1240 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
1241 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1242 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1243 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1244 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1245 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1246 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1247 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1248 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1249 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1250 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1251 | wait() | |
1252 | end | |
1253 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(123, 46, 47), 1, maincolor, "Sphere") | |
1254 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(27, 42, 53), 2, mainecolor, "Sphere") | |
1255 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.5, maincolor, "Sphere") | |
1256 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, mainecolor, "Sphere") | |
1257 | wait(0.5) | |
1258 | Cso("535817500", hed, 10, 1.1) | |
1259 | Cso("2011915907", hed, 10, 1.1) | |
1260 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
1261 | if v:FindFirstChild("Head") then | |
1262 | Eviscerate(v) | |
1263 | end | |
1264 | end | |
1265 | wait(0.5) | |
1266 | Cso("0", hed, 10, 1.1) | |
1267 | end | |
1268 | ||
1269 | mouse.Button1Down:connect(function(key) | |
1270 | if attack == false then | |
1271 | Ban() | |
1272 | end | |
1273 | end) | |
1274 | ||
1275 | local aura = Instance.new("ParticleEmitter", bem) | |
1276 | aura.Size = NumberSequence.new(11) | |
1277 | aura.Lifetime = NumberRange.new(0.5) | |
1278 | aura.LightEmission = 1 | |
1279 | aura.Texture = "http://www.roblox.com/asset/?id=" | |
1280 | aura.Speed = NumberRange.new(0) | |
1281 | aura.Color = ColorSequence.new(Color3.new(225, 225, 0)) | |
1282 | aura.Rate = 400 | |
1283 | local equiped = false | |
1284 | ----------------------------------------------- | |
1285 | function equip() | |
1286 | local RGhasterBlaster = new("Part",char) | |
1287 | RGhasterBlaster.Size = v3(1,1,1) | |
1288 | RGhasterBlaster.Name = "RGhasterBlaster" | |
1289 | RGhasterBlaster.CanCollide = false | |
1290 | RGhasterBlaster.Material = "Neon" | |
1291 | RGhasterBlaster.Shape = "Ball" | |
1292 | RGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame | |
1293 | RGhasterBlaster.Anchored = false | |
1294 | RGhasterBlaster.BrickColor = bc("White") | |
1295 | RGhasterBlaster.Transparency = 1 | |
1296 | ||
1297 | local LGhasterBlaster = new("Part",char) | |
1298 | LGhasterBlaster.Size = v3(1,1,1) | |
1299 | LGhasterBlaster.CanCollide = false | |
1300 | LGhasterBlaster.Name = "LGhasterBlaster" | |
1301 | LGhasterBlaster.Material = "Neon" | |
1302 | LGhasterBlaster.BrickColor = bc("White") | |
1303 | LGhasterBlaster.Shape = "Ball" | |
1304 | LGhasterBlaster.CFrame = char.HumanoidRootPart.CFrame*CFrame.Angles(0,rad(180),0) | |
1305 | LGhasterBlaster.Anchored = false | |
1306 | LGhasterBlaster.Transparency = 1 | |
1307 | - | hum.WalkSpeed = 30 |
1307 | + | |
1308 | - | hum.JumpPower = 80 |
1308 | + | |
1309 | zxc.MeshType = "FileMesh" | |
1310 | zxc.Scale = Vector3.new(2,2,2) | |
1311 | zxc.MeshId = "http://www.roblox.com/asset/?id=925471742" | |
1312 | local zxc = Instance.new("SpecialMesh",RGhasterBlaster) | |
1313 | zxc.MeshType = "FileMesh" | |
1314 | zxc.Scale = Vector3.new(2,2,2) | |
1315 | zxc.MeshId = "http://www.roblox.com/asset/?id=925471742" | |
1316 | local lgbbg=Instance.new("BodyGyro",LGhasterBlaster) | |
1317 | lgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
1318 | lgbbg.D=400 | |
1319 | ||
1320 | lgbbp = Instance.new("BodyPosition", LGhasterBlaster) | |
1321 | ||
1322 | local rgbbg=Instance.new("BodyGyro",RGhasterBlaster) | |
1323 | rgbbg.MaxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
1324 | rgbbg.D=400 | |
1325 | ||
1326 | rgbbp = Instance.new("BodyPosition", RGhasterBlaster) | |
1327 | ||
1328 | spawn(function() | |
1329 | while Blasters == true do | |
1330 | rgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(10,5,0)).p | |
1331 | lgbbp.Position=(char.HumanoidRootPart.CFrame*CFrame.new(-10,5,0)).p | |
1332 | rgbbg.CFrame=CFrame.new(RGhasterBlaster.Position,mouse.Hit.p) | |
1333 | lgbbg.CFrame=CFrame.new(LGhasterBlaster.Position,mouse.Hit.p) | |
1334 | ||
1335 | wait() | |
1336 | end | |
1337 | end) | |
1338 | ||
1339 | ||
1340 | if equiped == false then | |
1341 | equiped = true | |
1342 | hum.WalkSpeed = 40 | |
1343 | hum.JumpPower = 120 | |
1344 | for i = 1,20 do | |
1345 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(26.299), math.rad(-0.229), math.rad(-90.413)),.3) --LeftUpperArm | |
1346 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(5.386), 0, math.rad(88.293)),.3)--RightUpperArm | |
1347 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(19.137),rad(0),rad(0)),.3)--LeftLowerArm | |
1348 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(31.971),rad(0),rad(0)),.3)--RightLowerArm | |
1349 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(6.704), math.rad(-2.12), math.rad(-17.418)),.3)--LeftUpperLeg | |
1350 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(12.605), math.rad(3.953), math.rad(17.074)),.3)--RightUpperLeg | |
1351 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10.886),rad(0),rad(0)),.3)--LeftLowerLeg | |
1352 | - | hum.WalkSpeed = 30 |
1352 | + | |
1353 | - | hum.JumpPower = 80 |
1353 | + | |
1354 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1355 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1356 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1357 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1358 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1359 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(21.658),rad(0),rad(0)),.3)--Head | |
1360 | wait() | |
1361 | end | |
1362 | for i = 1,20 do | |
1363 | LGhasterBlaster.Transparency = LGhasterBlaster.Transparency-0.1 | |
1364 | RGhasterBlaster.Transparency = RGhasterBlaster.Transparency-0.1 | |
1365 | wait() | |
1366 | end | |
1367 | for i = 1,20 do | |
1368 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
1369 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1370 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1371 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1372 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
1373 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1374 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1375 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1376 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1377 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1378 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1379 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1380 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1381 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1382 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1383 | wait() | |
1384 | end | |
1385 | else | |
1386 | equiped = false | |
1387 | hum.WalkSpeed = 40 | |
1388 | hum.JumpPower = 120 | |
1389 | for i = 1,20 do | |
1390 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-137.052), math.rad(-87.376), math.rad(-180.023)),.1) --LeftUpperArm | |
1391 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(44.576), math.rad(80.787), 0),.1)--RightUpperArm | |
1392 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(92.934),rad(0),rad(0)),.1)--LeftLowerArm | |
1393 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(math.rad(92.132), math.rad(0.057), math.rad(0.229)),.1)--RightLowerArm | |
1394 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(59.588),rad(0),rad(0)),.1)--LeftUpperLeg | |
1395 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(1.089),rad(0),rad(0)),.1)--RightUpperLeg | |
1396 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-38.044),rad(0),rad(0)),.1)--LeftLowerLeg | |
1397 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-17.704),rad(0),rad(0)),.1)--RightUpperLeg | |
1398 | Root.C0 = Root.C0:lerp(CFrame.new(0, -0.206, 0.078)*CFrame.Angles(rad(-20.856),rad(0),rad(0)),.1)--Torso | |
1399 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--Head | |
1400 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1401 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1402 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1403 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1404 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1405 | wait() | |
1406 | end | |
1407 | for i = 1,20 do | |
1408 | LGhasterBlaster.Transparency = LGhasterBlaster.Transparency+0.1 | |
1409 | RGhasterBlaster.Transparency = RGhasterBlaster.Transparency+0.1 | |
1410 | wait() | |
1411 | end | |
1412 | for i = 1,20 do | |
1413 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
1414 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1415 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1416 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1417 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
1418 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1419 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1420 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1421 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1422 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1423 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1424 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1425 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1426 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1427 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1428 | wait() | |
1429 | end | |
1430 | end | |
1431 | end | |
1432 | ||
1433 | function bones() | |
1434 | local new = Instance.new | |
1435 | local bc =BrickColor.new | |
1436 | for i = 1,30 do | |
1437 | local bone = new("Part",char) | |
1438 | bone.Touched:connect(function(hit) | |
1439 | ||
1440 | ||
1441 | if hit.Parent == char then return end | |
1442 | ||
1443 | for i,v in pairs(hit.Parent:GetChildren()) do | |
1444 | if v:IsA("Humanoid") then | |
1445 | ||
1446 | ||
1447 | for i = 1,20 do | |
1448 | v.Health = v.Health-2 | |
1449 | wait(1) | |
1450 | end | |
1451 | wait(0.9) | |
1452 | end | |
1453 | ||
1454 | ||
1455 | end | |
1456 | ||
1457 | end) | |
1458 | bone.CFrame = char.HumanoidRootPart.CFrame | |
1459 | bone.CanCollide = false | |
1460 | bone.Material = "SmoothPlastic" | |
1461 | bone.BrickColor = bc("White") | |
1462 | bone.Anchored = true | |
1463 | bone.CFrame = (char.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-7,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0))) | |
1464 | local zxc = Instance.new("SpecialMesh",bone) | |
1465 | zxc.MeshType = "FileMesh" | |
1466 | zxc.Scale = Vector3.new(0.03, 0.03, 0.03) | |
1467 | zxc.MeshId = "http://www.roblox.com/asset/?id=921085633" | |
1468 | wait() | |
1469 | ||
1470 | ||
1471 | ||
1472 | ||
1473 | ||
1474 | ||
1475 | local gdisp = coroutine.wrap(function() | |
1476 | for i = 1,5 do | |
1477 | bone.CFrame = bone.CFrame*CFrame.new(0,1,0) | |
1478 | wait() | |
1479 | end | |
1480 | wait(1) | |
1481 | for i = 1, 9 do | |
1482 | wait(.1) | |
1483 | bone.Transparency = bone.Transparency + .3 | |
1484 | end | |
1485 | bone:Destroy() | |
1486 | end) | |
1487 | gdisp() | |
1488 | end | |
1489 | end | |
1490 | wait(1) | |
1491 | AheadShotsdebounce = true | |
1492 | ||
1493 | - | Model5 = Instance.new("Model") |
1493 | + | |
1494 | Press=Press:lower() | |
1495 | if Press=='z' then | |
1496 | id = 0 | |
1497 | themee.SoundId = "rbxassetid://"..id | |
1498 | themee:Play() | |
1499 | - | Part11 = Instance.new("Part") |
1499 | + | |
1500 | end) | |
1501 | ||
1502 | - | Part1.CFrame = CFrame.new(15.8591118, 13.3249426, 7.60138321, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1502 | + | |
1503 | - | Part1.Position = Vector3.new(15.8591118, 13.3249426, 7.60138321) |
1503 | + | |
1504 | if Press=='e' then | |
1505 | - | Part1.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1505 | + | |
1506 | ||
1507 | --Converted with ttyyuu12345's model to script plugin v4 | |
1508 | function sandbox(var,func) | |
1509 | local env = getfenv(func) | |
1510 | local newenv = setmetatable({},{ | |
1511 | - | Part1.FormFactor = Enum.FormFactor.Symmetric |
1511 | + | |
1512 | - | Part1.formFactor = Enum.FormFactor.Symmetric |
1512 | + | |
1513 | return var | |
1514 | else | |
1515 | - | Part2.CFrame = CFrame.new(17.4587326, 6.47115898, 3.09806633, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1515 | + | |
1516 | - | Part2.Position = Vector3.new(17.4587326, 6.47115898, 3.09806633) |
1516 | + | |
1517 | - | Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1517 | + | |
1518 | - | Part2.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1518 | + | |
1519 | setfenv(func,newenv) | |
1520 | return func | |
1521 | - | Part2.BrickColor = BrickColor.new("Really black") |
1521 | + | |
1522 | cors = {} | |
1523 | - | Part2.brickColor = BrickColor.new("Really black") |
1523 | + | |
1524 | - | Part2.FormFactor = Enum.FormFactor.Symmetric |
1524 | + | |
1525 | - | Part2.formFactor = Enum.FormFactor.Symmetric |
1525 | + | |
1526 | Part2 = Instance.new("Part") | |
1527 | Part3 = Instance.new("Part") | |
1528 | - | Part3.CFrame = CFrame.new(23.9076576, 10.2099094, 6.7016964, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1528 | + | |
1529 | - | Part3.Position = Vector3.new(23.9076576, 10.2099094, 6.7016964) |
1529 | + | Part5 = Instance.new("Part") |
1530 | - | Part3.Color = Color3.new(0.929412, 0.917647, 0.917647) |
1530 | + | |
1531 | - | Part3.Size = Vector3.new(16.1778584, 16.1778584, 16.1778584) |
1531 | + | |
1532 | Part8 = Instance.new("Part") | |
1533 | Part9 = Instance.new("Part") | |
1534 | - | Part3.BrickColor = BrickColor.new("Lily white") |
1534 | + | |
1535 | UnionOperation11 = Instance.new("UnionOperation") | |
1536 | - | Part3.brickColor = BrickColor.new("Lily white") |
1536 | + | UnionOperation12 = Instance.new("UnionOperation") |
1537 | - | Part3.FormFactor = Enum.FormFactor.Symmetric |
1537 | + | Part13 = Instance.new("Part") |
1538 | - | Part3.formFactor = Enum.FormFactor.Symmetric |
1538 | + | Part14 = Instance.new("Part") |
1539 | Decal15 = Instance.new("Decal") | |
1540 | WedgePart16 = Instance.new("WedgePart") | |
1541 | - | Part4.CFrame = CFrame.new(29.9086113, 6.57268953, 2.38253403, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1541 | + | Part17 = Instance.new("Part") |
1542 | - | Part4.Position = Vector3.new(29.9086113, 6.57268953, 2.38253403) |
1542 | + | Part18 = Instance.new("Part") |
1543 | Part19 = Instance.new("Part") | |
1544 | - | Part4.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1544 | + | Part20 = Instance.new("Part") |
1545 | Part21 = Instance.new("Part") | |
1546 | Part22 = Instance.new("Part") | |
1547 | Model0.Parent = mas | |
1548 | Part1.Parent = Model0 | |
1549 | Part1.CFrame = CFrame.new(48.5917892, 47.3486061, 49.7306824, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1550 | - | Part4.FormFactor = Enum.FormFactor.Symmetric |
1550 | + | Part1.Orientation = Vector3.new(0, 90, 0) |
1551 | - | Part4.formFactor = Enum.FormFactor.Symmetric |
1551 | + | Part1.Position = Vector3.new(48.5917892, 47.3486061, 49.7306824) |
1552 | Part1.Rotation = Vector3.new(0, 90, 0) | |
1553 | - | Model5.Parent = Model0 |
1553 | + | |
1554 | - | Part6.Parent = Model5 |
1554 | + | Part1.Size = Vector3.new(11.9378719, 11.9378719, 11.9378719) |
1555 | - | Part6.CFrame = CFrame.new(23.9785767, 22.1493645, 9.27209187, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1555 | + | |
1556 | - | Part6.Position = Vector3.new(23.9785767, 22.1493645, 9.27209187) |
1556 | + | |
1557 | - | Part6.Color = Color3.new(0.972549, 0.972549, 0.972549) |
1557 | + | |
1558 | - | Part6.Size = Vector3.new(12.9422855, 12.9422855, 12.9422855) |
1558 | + | Part1.Material = Enum.Material.Sand |
1559 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
1560 | Part1.brickColor = BrickColor.new("Really black") | |
1561 | - | Part6.BrickColor = BrickColor.new("Institutional white") |
1561 | + | |
1562 | Part2.Parent = Model0 | |
1563 | - | Part6.brickColor = BrickColor.new("Institutional white") |
1563 | + | Part2.CFrame = CFrame.new(57.1810532, 36.2468109, 49.0643387, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
1564 | - | Part6.FormFactor = Enum.FormFactor.Symmetric |
1564 | + | Part2.Orientation = Vector3.new(0, 90, 0) |
1565 | - | Part6.formFactor = Enum.FormFactor.Symmetric |
1565 | + | Part2.Position = Vector3.new(57.1810532, 36.2468109, 49.0643387) |
1566 | Part2.Rotation = Vector3.new(0, 90, 0) | |
1567 | Part2.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1568 | - | Decal7.Texture = "http://www.roblox.com/asset/?id=473719228" |
1568 | + | Part2.Size = Vector3.new(30.36623, 30.36623, 30.36623) |
1569 | - | Part8.Parent = Model5 |
1569 | + | |
1570 | - | Part8.CFrame = CFrame.new(19.1252213, 27.2037086, 9.55143642, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1570 | + | |
1571 | - | Part8.Position = Vector3.new(19.1252213, 27.2037086, 9.55143642) |
1571 | + | Part2.BrickColor = BrickColor.new("Institutional white") |
1572 | Part2.Material = Enum.Material.Sand | |
1573 | - | Part8.Size = Vector3.new(3.23557138, 3.23557138, 3.23557138) |
1573 | + | |
1574 | Part2.brickColor = BrickColor.new("Institutional white") | |
1575 | Part2.Shape = Enum.PartType.Ball | |
1576 | Part3.Parent = Model0 | |
1577 | Part3.CFrame = CFrame.new(41.7180328, 23.3910103, 59.0231323, 0.58643496, 0.0729181468, -0.806707561, -0.0729249939, -0.987142265, -0.142240331, -0.806706905, 0.142243832, -0.573577166) | |
1578 | Part3.Orientation = Vector3.new(8.18000031, -125.410004, -175.770004) | |
1579 | - | Part8.FormFactor = Enum.FormFactor.Symmetric |
1579 | + | Part3.Position = Vector3.new(41.7180328, 23.3910103, 59.0231323) |
1580 | - | Part8.formFactor = Enum.FormFactor.Symmetric |
1580 | + | Part3.Rotation = Vector3.new(166.070007, -53.7799988, -7.09000015) |
1581 | Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1582 | - | Part9.Parent = Model5 |
1582 | + | Part3.Size = Vector3.new(8.25664425, 8.25664425, 8.25664425) |
1583 | - | Part9.CFrame = CFrame.new(23.9785767, 22.1619034, 9.51090145, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1583 | + | |
1584 | - | Part9.Position = Vector3.new(23.9785767, 22.1619034, 9.51090145) |
1584 | + | |
1585 | Part3.BrickColor = BrickColor.new("Really black") | |
1586 | - | Part9.Size = Vector3.new(12.9422855, 12.9422855, 12.9422855) |
1586 | + | Part3.Material = Enum.Material.Sand |
1587 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
1588 | Part3.brickColor = BrickColor.new("Really black") | |
1589 | Part3.Shape = Enum.PartType.Ball | |
1590 | Part4.Parent = Model0 | |
1591 | Part4.CFrame = CFrame.new(52.6210098, 40.2130051, 56.5951385, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1592 | - | Part9.FormFactor = Enum.FormFactor.Symmetric |
1592 | + | Part4.Orientation = Vector3.new(0, 90, 0) |
1593 | - | Part9.formFactor = Enum.FormFactor.Symmetric |
1593 | + | Part4.Position = Vector3.new(52.6210098, 40.2130051, 56.5951385) |
1594 | Part4.Rotation = Vector3.new(0, 90, 0) | |
1595 | - | Part10.Parent = Model5 |
1595 | + | |
1596 | - | Part10.CFrame = CFrame.new(28.0688019, 27.3284645, 9.27209282, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1596 | + | Part4.Size = Vector3.new(11.9378719, 11.9378719, 11.9378719) |
1597 | - | Part10.Position = Vector3.new(28.0688019, 27.3284645, 9.27209282) |
1597 | + | |
1598 | - | Part10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1598 | + | |
1599 | - | Part10.Size = Vector3.new(3.23557138, 3.23557138, 3.23557138) |
1599 | + | |
1600 | Part4.Material = Enum.Material.Sand | |
1601 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
1602 | - | Part10.BrickColor = BrickColor.new("Really black") |
1602 | + | |
1603 | Part4.Shape = Enum.PartType.Ball | |
1604 | - | Part10.brickColor = BrickColor.new("Really black") |
1604 | + | Part5.Parent = Model0 |
1605 | - | Part10.FormFactor = Enum.FormFactor.Symmetric |
1605 | + | Part5.CFrame = CFrame.new(56.8641663, 36.5636978, 64.7474518, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1606 | - | Part10.formFactor = Enum.FormFactor.Symmetric |
1606 | + | Part5.Position = Vector3.new(56.8641663, 36.5636978, 64.7474518) |
1607 | Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1608 | - | Part11.Parent = Model5 |
1608 | + | Part5.Size = Vector3.new(5, 1, 1) |
1609 | - | Part11.CFrame = CFrame.new(32.2036057, 13.0941849, 9.28808975, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1609 | + | Part5.Anchored = true |
1610 | - | Part11.Position = Vector3.new(32.2036057, 13.0941849, 9.28808975) |
1610 | + | Part5.BottomSurface = Enum.SurfaceType.Smooth |
1611 | - | Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1611 | + | Part5.BrickColor = BrickColor.new("Really black") |
1612 | - | Part11.Size = Vector3.new(6.47114277, 6.47114277, 6.47114277) |
1612 | + | Part5.TopSurface = Enum.SurfaceType.Smooth |
1613 | - | Part11.Anchored = true |
1613 | + | Part5.brickColor = BrickColor.new("Really black") |
1614 | - | Part11.BottomSurface = Enum.SurfaceType.Smooth |
1614 | + | Part5.Shape = Enum.PartType.Cylinder |
1615 | - | Part11.BrickColor = BrickColor.new("Really black") |
1615 | + | Part6.Parent = Model0 |
1616 | - | Part11.TopSurface = Enum.SurfaceType.Smooth |
1616 | + | Part6.CFrame = CFrame.new(50.8640823, 42.0547752, 61.0135193, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
1617 | - | Part11.brickColor = BrickColor.new("Really black") |
1617 | + | Part6.Orientation = Vector3.new(0, 90, 0) |
1618 | - | Part11.FormFactor = Enum.FormFactor.Symmetric |
1618 | + | Part6.Position = Vector3.new(50.8640823, 42.0547752, 61.0135193) |
1619 | - | Part11.formFactor = Enum.FormFactor.Symmetric |
1619 | + | Part6.Rotation = Vector3.new(0, 90, 0) |
1620 | - | Part11.Shape = Enum.PartType.Ball |
1620 | + | Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1621 | Part6.Size = Vector3.new(3.12935519, 3.12935519, 3.12935519) | |
1622 | Part6.Anchored = true | |
1623 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
1624 | Part6.BrickColor = BrickColor.new("Really black") | |
1625 | Part6.Material = Enum.Material.Sand | |
1626 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
1627 | Part6.brickColor = BrickColor.new("Really black") | |
1628 | Part6.Shape = Enum.PartType.Ball | |
1629 | Decal7.Parent = Part6 | |
1630 | Decal7.Texture = "http://www.roblox.com/asset/?id=3717226133" | |
1631 | Decal7.Face = Enum.NormalId.Left | |
1632 | Part8.Parent = Model0 | |
1633 | Part8.CFrame = CFrame.new(41.1591187, 23.3393822, 63.1394043, 0.58643496, 0.0729181468, -0.806707561, -0.0729249939, -0.987142265, -0.142240331, -0.806706905, 0.142243832, -0.573577166) | |
1634 | Part8.Orientation = Vector3.new(8.18000031, -125.410004, -175.770004) | |
1635 | Part8.Position = Vector3.new(41.1591187, 23.3393822, 63.1394043) | |
1636 | Part8.Rotation = Vector3.new(166.070007, -53.7799988, -7.09000015) | |
1637 | Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1638 | Part8.Size = Vector3.new(7.56641483, 7.56641483, 7.56641483) | |
1639 | Part8.Anchored = true | |
1640 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
1641 | Part8.BrickColor = BrickColor.new("Really black") | |
1642 | Part8.Material = Enum.Material.Sand | |
1643 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
1644 | Part8.brickColor = BrickColor.new("Really black") | |
1645 | Part8.Shape = Enum.PartType.Ball | |
1646 | Part9.Parent = Model0 | |
1647 | Part9.CFrame = CFrame.new(41.5474167, 23.5832863, 65.3172913, 0.58643496, 0.0729181468, -0.806707561, -0.0729249939, -0.987142265, -0.142240331, -0.806706905, 0.142243832, -0.573577166) | |
1648 | Part9.Orientation = Vector3.new(8.18000031, -125.410004, -175.770004) | |
1649 | Part9.Position = Vector3.new(41.5474167, 23.5832863, 65.3172913) | |
1650 | Part9.Rotation = Vector3.new(166.070007, -53.7799988, -7.09000015) | |
1651 | Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1652 | Part9.Size = Vector3.new(6.6461091, 6.6461091, 6.6461091) | |
1653 | Part9.Anchored = true | |
1654 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
1655 | Part9.BrickColor = BrickColor.new("Really black") | |
1656 | Part9.Material = Enum.Material.Sand | |
1657 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
1658 | Part9.brickColor = BrickColor.new("Really black") | |
1659 | Part9.Shape = Enum.PartType.Ball | |
1660 | Part10.Parent = Model0 | |
1661 | Part10.CFrame = CFrame.new(56.9489899, 24.845108, 49.064537, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1662 | Part10.Orientation = Vector3.new(0, 90, 0) | |
1663 | Part10.Position = Vector3.new(56.9489899, 24.845108, 49.064537) | |
1664 | Part10.Rotation = Vector3.new(0, 90, 0) | |
1665 | Part10.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1666 | Part10.Size = Vector3.new(32.4524574, 32.4524574, 32.4524574) | |
1667 | Part10.Anchored = true | |
1668 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
1669 | Part10.BrickColor = BrickColor.new("Institutional white") | |
1670 | Part10.Material = Enum.Material.Sand | |
1671 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
1672 | Part10.brickColor = BrickColor.new("Institutional white") | |
1673 | Part10.Shape = Enum.PartType.Ball | |
1674 | UnionOperation11.Parent = Model0 | |
1675 | UnionOperation11.CFrame = CFrame.new(56.9707565, 18.5628796, 48.9369125, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1676 | UnionOperation11.Orientation = Vector3.new(0, 90, 0) | |
1677 | UnionOperation11.Position = Vector3.new(56.9707565, 18.5628796, 48.9369125) | |
1678 | UnionOperation11.Rotation = Vector3.new(0, 90, 0) | |
1679 | UnionOperation11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1680 | UnionOperation11.Size = Vector3.new(37.5521164, 36.0706635, 37.5521202) | |
1681 | UnionOperation11.Anchored = true | |
1682 | UnionOperation11.BrickColor = BrickColor.new("Really black") | |
1683 | UnionOperation11.Material = Enum.Material.Sand | |
1684 | UnionOperation11.brickColor = BrickColor.new("Really black") | |
1685 | UnionOperation12.Parent = Model0 | |
1686 | UnionOperation12.CFrame = CFrame.new(57.0781937, 16.378088, 47.0853577, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1687 | UnionOperation12.Orientation = Vector3.new(0, 90, 0) | |
1688 | UnionOperation12.Position = Vector3.new(57.0781937, 16.378088, 47.0853577) | |
1689 | UnionOperation12.Rotation = Vector3.new(0, 90, 0) | |
1690 | UnionOperation12.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
1691 | UnionOperation12.Size = Vector3.new(43.6049194, 31.7337704, 39.6469803) | |
1692 | UnionOperation12.Anchored = true | |
1693 | UnionOperation12.Material = Enum.Material.Sand | |
1694 | Part13.Parent = Model0 | |
1695 | Part13.CFrame = CFrame.new(66.6242828, 47.3486061, 49.7306824, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1696 | Part13.Orientation = Vector3.new(0, 90, 0) | |
1697 | Part13.Position = Vector3.new(66.6242828, 47.3486061, 49.7306824) | |
1698 | Part13.Rotation = Vector3.new(0, 90, 0) | |
1699 | Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1700 | Part13.Size = Vector3.new(11.9378719, 11.9378719, 11.9378719) | |
1701 | Part13.Anchored = true | |
1702 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
1703 | Part13.BrickColor = BrickColor.new("Really black") | |
1704 | Part13.Material = Enum.Material.Sand | |
1705 | Part13.TopSurface = Enum.SurfaceType.Smooth | |
1706 | Part13.brickColor = BrickColor.new("Really black") | |
1707 | Part13.Shape = Enum.PartType.Ball | |
1708 | Part14.Parent = Model0 | |
1709 | Part14.CFrame = CFrame.new(63.4934502, 42.0547752, 61.0136719, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1710 | Part14.Orientation = Vector3.new(0, 90, 0) | |
1711 | Part14.Position = Vector3.new(63.4934502, 42.0547752, 61.0136719) | |
1712 | Part14.Rotation = Vector3.new(0, 90, 0) | |
1713 | Part14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1714 | Part14.Size = Vector3.new(3.12935519, 3.12935519, 3.12935519) | |
1715 | Part14.Anchored = true | |
1716 | Part14.BottomSurface = Enum.SurfaceType.Smooth | |
1717 | Part14.BrickColor = BrickColor.new("Really black") | |
1718 | Part14.Material = Enum.Material.Sand | |
1719 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
1720 | Part14.brickColor = BrickColor.new("Really black") | |
1721 | Part14.Shape = Enum.PartType.Ball | |
1722 | Decal15.Parent = Part14 | |
1723 | Decal15.Texture = "http://www.roblox.com/asset/?id=3717226133" | |
1724 | Decal15.Face = Enum.NormalId.Left | |
1725 | WedgePart16.Parent = Model0 | |
1726 | WedgePart16.CFrame = CFrame.new(56.9892883, 40.3797035, 64.3976288, 0, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 1, 0, 0) | |
1727 | WedgePart16.Orientation = Vector3.new(45, -90, 0) | |
1728 | WedgePart16.Position = Vector3.new(56.9892883, 40.3797035, 64.3976288) | |
1729 | WedgePart16.Rotation = Vector3.new(90, -45, 90) | |
1730 | WedgePart16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1731 | WedgePart16.Size = Vector3.new(1.15901566, 3.24524593, 3.3611598) | |
1732 | WedgePart16.Anchored = true | |
1733 | WedgePart16.BrickColor = BrickColor.new("Really black") | |
1734 | WedgePart16.Material = Enum.Material.Sand | |
1735 | WedgePart16.brickColor = BrickColor.new("Really black") | |
1736 | Part17.Parent = Model0 | |
1737 | Part17.CFrame = CFrame.new(72.3721771, 24.0471897, 62.7424316, -0.222223029, -0.972378194, 0.071397759, -0.547577083, 0.185058936, 0.816034675, -0.806707144, 0.142245904, -0.573576331) | |
1738 | Part17.Orientation = Vector3.new(-54.6899986, 172.899994, -71.3300018) | |
1739 | Part17.Position = Vector3.new(72.3721771, 24.0471897, 62.7424316) | |
1740 | Part17.Rotation = Vector3.new(-125.099998, 4.09000015, 102.870003) | |
1741 | Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1742 | Part17.Size = Vector3.new(7.56641483, 7.56641483, 7.56641483) | |
1743 | Part17.Anchored = true | |
1744 | Part17.BottomSurface = Enum.SurfaceType.Smooth | |
1745 | Part17.BrickColor = BrickColor.new("Really black") | |
1746 | Part17.Material = Enum.Material.Sand | |
1747 | Part17.TopSurface = Enum.SurfaceType.Smooth | |
1748 | Part17.brickColor = BrickColor.new("Really black") | |
1749 | Part17.Shape = Enum.PartType.Ball | |
1750 | Part18.Parent = Model0 | |
1751 | Part18.CFrame = CFrame.new(72.2770309, 23.4941597, 58.6262207, -0.222223029, -0.972378194, 0.071397759, -0.547577083, 0.185058936, 0.816034675, -0.806707144, 0.142245904, -0.573576331) | |
1752 | Part18.Orientation = Vector3.new(-54.6899986, 172.899994, -71.3300018) | |
1753 | Part18.Position = Vector3.new(72.2770309, 23.4941597, 58.6262207) | |
1754 | Part18.Rotation = Vector3.new(-125.099998, 4.09000015, 102.870003) | |
1755 | Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1756 | Part18.Size = Vector3.new(8.25664425, 8.25664425, 8.25664425) | |
1757 | Part18.Anchored = true | |
1758 | Part18.BottomSurface = Enum.SurfaceType.Smooth | |
1759 | Part18.BrickColor = BrickColor.new("Really black") | |
1760 | Part18.Material = Enum.Material.Sand | |
1761 | Part18.TopSurface = Enum.SurfaceType.Smooth | |
1762 | Part18.brickColor = BrickColor.new("Really black") | |
1763 | Part18.Shape = Enum.PartType.Ball | |
1764 | Part19.Parent = Model0 | |
1765 | Part19.CFrame = CFrame.new(72.5071335, 23.609024, 64.9203796, -0.222223029, -0.972378194, 0.071397759, -0.547577083, 0.185058936, 0.816034675, -0.806707144, 0.142245904, -0.573576331) | |
1766 | Part19.Orientation = Vector3.new(-54.6899986, 172.899994, -71.3300018) | |
1767 | Part19.Position = Vector3.new(72.5071335, 23.609024, 64.9203796) | |
1768 | Part19.Rotation = Vector3.new(-125.099998, 4.09000015, 102.870003) | |
1769 | Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1770 | Part19.Size = Vector3.new(6.6461091, 6.6461091, 6.6461091) | |
1771 | Part19.Anchored = true | |
1772 | Part19.BottomSurface = Enum.SurfaceType.Smooth | |
1773 | Part19.BrickColor = BrickColor.new("Really black") | |
1774 | Part19.Material = Enum.Material.Sand | |
1775 | Part19.TopSurface = Enum.SurfaceType.Smooth | |
1776 | Part19.brickColor = BrickColor.new("Really black") | |
1777 | Part19.Shape = Enum.PartType.Ball | |
1778 | Part20.Parent = Model0 | |
1779 | Part20.CFrame = CFrame.new(61.7825012, 40.2130051, 56.5946808, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1780 | Part20.Orientation = Vector3.new(0, 90, 0) | |
1781 | Part20.Position = Vector3.new(61.7825012, 40.2130051, 56.5946808) | |
1782 | Part20.Rotation = Vector3.new(0, 90, 0) | |
1783 | Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1784 | Part20.Size = Vector3.new(11.9378719, 11.9378719, 11.9378719) | |
1785 | Part20.Anchored = true | |
1786 | Part20.BottomSurface = Enum.SurfaceType.Smooth | |
1787 | Part20.BrickColor = BrickColor.new("Really black") | |
1788 | Part20.Material = Enum.Material.Sand | |
1789 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
1790 | Part20.brickColor = BrickColor.new("Really black") | |
1791 | Part20.Shape = Enum.PartType.Ball | |
1792 | Part21.Parent = Model0 | |
1793 | Part21.CFrame = CFrame.new(45.8807449, 38.6814804, 25.8246136, -0.707106948, -0.707106709, 0, 0.49999994, -0.500000119, 0.707106829, -0.49999994, 0.500000119, 0.707106829) | |
1794 | Part21.Orientation = Vector3.new(-45, 0, 135) | |
1795 | Part21.Position = Vector3.new(45.8807449, 38.6814804, 25.8246136) | |
1796 | Part21.Rotation = Vector3.new(-45, 0, 135) | |
1797 | Part21.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1798 | Part21.Size = Vector3.new(29, 2, 3) | |
1799 | Part21.Anchored = true | |
1800 | Part21.BottomSurface = Enum.SurfaceType.Smooth | |
1801 | Part21.BrickColor = BrickColor.new("Black") | |
1802 | Part21.TopSurface = Enum.SurfaceType.Smooth | |
1803 | Part21.brickColor = BrickColor.new("Black") | |
1804 | Part21.Shape = Enum.PartType.Cylinder | |
1805 | Part22.Parent = Model0 | |
1806 | Part22.CFrame = CFrame.new(68.5982666, 39.5318069, 25.3032093, 0.707106948, -0.707106709, 0, 0.49999994, 0.500000119, 0.707106829, -0.49999994, -0.500000119, 0.707106829) | |
1807 | Part22.Orientation = Vector3.new(-45, 0, 45) | |
1808 | Part22.Position = Vector3.new(68.5982666, 39.5318069, 25.3032093) | |
1809 | Part22.Rotation = Vector3.new(-45, 0, 45) | |
1810 | Part22.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1811 | Part22.Size = Vector3.new(30, 2, 5) | |
1812 | Part22.Anchored = true | |
1813 | Part22.BottomSurface = Enum.SurfaceType.Smooth | |
1814 | Part22.BrickColor = BrickColor.new("Black") | |
1815 | Part22.TopSurface = Enum.SurfaceType.Smooth | |
1816 | Part22.brickColor = BrickColor.new("Black") | |
1817 | Part22.Shape = Enum.PartType.Cylinder | |
1818 | for i,v in pairs(mas:GetChildren()) do | |
1819 | v.Parent = script | |
1820 | pcall(function() v:MakeJoints() end) | |
1821 | end | |
1822 | mas:Destroy() | |
1823 | for i,v in pairs(cors) do | |
1824 | spawn(function() | |
1825 | pcall(v) | |
1826 | end) | |
1827 | end | |
1828 | ||
1829 | end | |
1830 | end) | |
1831 | ||
1832 | mouse.KeyDown:connect(function(Press) | |
1833 | Press=Press:lower() | |
1834 | if Press=='q' then | |
1835 | Cso("1019848561", hed, 10, 1.1) | |
1836 | for i = 1,20 do | |
1837 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
1838 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
1839 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1840 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1841 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
1842 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1843 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1844 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1845 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1846 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1847 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1848 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1849 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1850 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1851 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1852 | wait() | |
1853 | end | |
1854 | for i = 1,20 do | |
1855 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-137.052), math.rad(-87.376), math.rad(-180.023)),.1) --LeftUpperArm | |
1856 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(44.576), math.rad(80.787), 0),.1)--RightUpperArm | |
1857 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(92.934),rad(0),rad(0)),.1)--LeftLowerArm | |
1858 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(math.rad(92.132), math.rad(0.057), math.rad(0.229)),.1)--RightLowerArm | |
1859 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(59.588),rad(0),rad(0)),.1)--LeftUpperLeg | |
1860 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(1.089),rad(0),rad(0)),.1)--RightUpperLeg | |
1861 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-38.044),rad(0),rad(0)),.1)--LeftLowerLeg | |
1862 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-17.704),rad(0),rad(0)),.1)--RightUpperLeg | |
1863 | Root.C0 = Root.C0:lerp(CFrame.new(0, -0.206, 0.078)*CFrame.Angles(rad(-20.856),rad(0),rad(0)),.1)--Torso | |
1864 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--Head | |
1865 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1866 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1867 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1868 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1869 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1870 | wait() | |
1871 | end | |
1872 | bones() | |
1873 | end | |
1874 | end) | |
1875 | ||
1876 | mouse.KeyDown:connect(function(Press) | |
1877 | Press=Press:lower() | |
1878 | if Press=='r' then | |
1879 | equip() | |
1880 | end | |
1881 | end) | |
1882 | ||
1883 | mouse.KeyDown:connect(function(Press) | |
1884 | Press=Press:lower() | |
1885 | if Press=='x' then | |
1886 | id = 2705863687 | |
1887 | themee.SoundId = "rbxassetid://"..id | |
1888 | themee:Play() | |
1889 | end | |
1890 | end) | |
1891 | ||
1892 | mouse.KeyDown:connect(function(Press) | |
1893 | Press=Press:lower() | |
1894 | if Press=='f' then | |
1895 | Cso("2847401350", hed, 10, 1.1) | |
1896 | dist = (tors.Position - mouse.Hit.p).magnitude | |
1897 | if dist <= 10000 then | |
1898 | tors.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0) | |
1899 | end | |
1900 | end | |
1901 | end) |