SHOW:
|
|
- or go back to the newest paste.
1 | - | o1656.Anchored = true |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | - | o1656.CanCollide = false |
2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
3 | - | o1656.Shape = Enum.PartType.Cylinder |
3 | + | local Player,game,owner = owner,game |
4 | - | o1656.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
4 | + | local RealPlayer = Player |
5 | - | o1656.CFrame = CFrame.new(-80488.4453, 26705.334, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
5 | + | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end |
6 | - | o1656.BottomSurface = Enum.SurfaceType.Unjoinable |
6 | + | |
7 | - | o1656.TopSurface = Enum.SurfaceType.Unjoinable |
7 | + | --Made by Zalgo_exe.. and the one who made the edit containing boobs.. why.. that's just.. a m a z i n g.. no sarcasm. |
8 | - | o1656.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
8 | + | wait(0.2) |
9 | - | o1656.Position = Vector3.new(-80488.4453, 26705.334, 109.599678) |
9 | + | local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse(); |
10 | - | o1657.Name = "Cylinder" |
10 | + | local Torso = Character:FindFirstChild("Torso") |
11 | - | o1657.Parent = o1652 |
11 | + | local rootPart = Character:FindFirstChild("HumanoidRootPart") |
12 | - | o1657.Material = Enum.Material.SmoothPlastic |
12 | + | local Humanoid = Character:FindFirstChild("Humanoid") |
13 | - | o1657.BrickColor = BrickColor.new("Really black") |
13 | + | local Head = Character:FindFirstChild("Head") |
14 | - | o1657.Transparency = 0.80000001192093 |
14 | + | local Right_Arm = Character:FindFirstChild("Right Arm") |
15 | - | o1657.Position = Vector3.new(-80488.4453, 26711.1055, 109.599678) |
15 | + | local Left_Arm = Character:FindFirstChild("Left Arm") |
16 | - | o1657.Rotation = Vector3.new(0, 4.23999977, -90) |
16 | + | local Right_Leg = Character:FindFirstChild("Right Leg") |
17 | - | o1657.Anchored = true |
17 | + | local Left_Leg = Character:FindFirstChild("Left Leg") |
18 | - | o1657.CanCollide = false |
18 | + | local Right_Shoulder = Torso:FindFirstChild("Right Shoulder") |
19 | - | o1657.Shape = Enum.PartType.Cylinder |
19 | + | local Left_Shoulder = Torso:FindFirstChild("Left Shoulder") |
20 | - | o1657.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
20 | + | local Right_Hip = Torso:FindFirstChild("Right Hip") |
21 | - | o1657.CFrame = CFrame.new(-80488.4453, 26711.1055, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
21 | + | local Left_Hip = Torso:FindFirstChild("Left Hip") |
22 | - | o1657.BottomSurface = Enum.SurfaceType.Unjoinable |
22 | + | local Neck = Torso:FindFirstChild("Neck") |
23 | - | o1657.TopSurface = Enum.SurfaceType.Unjoinable |
23 | + | local rootPart = Character:FindFirstChild("HumanoidRootPart") |
24 | - | o1657.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
24 | + | local rootJoint = rootPart:FindFirstChild("RootJoint") |
25 | - | o1657.Position = Vector3.new(-80488.4453, 26711.1055, 109.599678) |
25 | + | local CurrentIdle = "Idling1" |
26 | - | o1658.Name = "Cylinder" |
26 | + | local Degree = 0.0175438596491228 |
27 | - | o1658.Parent = o1652 |
27 | + | local canremove = false |
28 | - | o1658.Material = Enum.Material.SmoothPlastic |
28 | + | local debounce = false |
29 | - | o1658.BrickColor = BrickColor.new("Really black") |
29 | + | local UIService=game:GetService'UserInputService' |
30 | - | o1658.Transparency = 0.80000001192093 |
30 | + | _G.SongName = math.random(1,9025232) |
31 | - | o1658.Position = Vector3.new(-80488.4453, 26706.3066, 109.599678) |
31 | + | |
32 | - | o1658.Rotation = Vector3.new(0, 4.23999977, -90) |
32 | + | local Hood = Instance.new("Part",Head) |
33 | - | o1658.Anchored = true |
33 | + | Hood.Name = "Hood" |
34 | - | o1658.CanCollide = false |
34 | + | Hood.Shape = Enum.PartType.Ball |
35 | - | o1658.Shape = Enum.PartType.Cylinder |
35 | + | Hood.CanCollide = false |
36 | - | o1658.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
36 | + | Hood.BrickColor = BrickColor.new("Medium stone grey") |
37 | - | o1658.CFrame = CFrame.new(-80488.4453, 26706.3066, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
37 | + | Hood.Transparency = 0 |
38 | - | o1658.BottomSurface = Enum.SurfaceType.Unjoinable |
38 | + | Hood.Material = "Grass" |
39 | - | o1658.TopSurface = Enum.SurfaceType.Unjoinable |
39 | + | Hood.Size = Vector3.new(0.1, 0.1, 0.1) |
40 | - | o1658.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
40 | + | Hood.TopSurface = Enum.SurfaceType.Smooth |
41 | - | o1658.Position = Vector3.new(-80488.4453, 26706.3066, 109.599678) |
41 | + | Hood.BottomSurface = Enum.SurfaceType.Smooth |
42 | - | o1659.Name = "Cylinder" |
42 | + | local Weld = Instance.new("Weld", Hood) |
43 | - | o1659.Parent = o1652 |
43 | + | Weld.Part0 = Head |
44 | - | o1659.Material = Enum.Material.SmoothPlastic |
44 | + | Weld.Part1 = Hood |
45 | - | o1659.BrickColor = BrickColor.new("Really black") |
45 | + | Weld.C1 = CFrame.new(0,0,0.6) |
46 | - | o1659.Transparency = 0.80000001192093 |
46 | + | HoodMesh = Instance.new("FileMesh",Hood) |
47 | - | o1659.Position = Vector3.new(-80488.4453, 26715.9863, 109.599678) |
47 | + | HoodMesh.MeshId = "http://www.roblox.com/asset/?id=13520910" |
48 | - | o1659.Rotation = Vector3.new(0, 4.23999977, -90) |
48 | + | HoodMesh.TextureId = "http://www.roblox.com/asset/?id=1772096775" |
49 | - | o1659.Anchored = true |
49 | + | HoodMesh.Scale = Vector3.new(1,1,1) |
50 | - | o1659.CanCollide = false |
50 | + | |
51 | - | o1659.Shape = Enum.PartType.Cylinder |
51 | + | local Hair = Instance.new("Part",Head) |
52 | - | o1659.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
52 | + | Hair.Name = "Hair" |
53 | - | o1659.CFrame = CFrame.new(-80488.4453, 26715.9863, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
53 | + | Hair.Shape = Enum.PartType.Ball |
54 | - | o1659.BottomSurface = Enum.SurfaceType.Unjoinable |
54 | + | Hair.CanCollide = false |
55 | - | o1659.TopSurface = Enum.SurfaceType.Unjoinable |
55 | + | Hair.BrickColor = BrickColor.new("Really black") |
56 | - | o1659.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
56 | + | Hair.Transparency = 0 |
57 | - | o1659.Position = Vector3.new(-80488.4453, 26715.9863, 109.599678) |
57 | + | Hair.Material = "Grass" |
58 | - | o1660.Name = "Cylinder" |
58 | + | Hair.Size = Vector3.new(0.1, 0.1, 0.1) |
59 | - | o1660.Parent = o1652 |
59 | + | Hair.TopSurface = Enum.SurfaceType.Smooth |
60 | - | o1660.Material = Enum.Material.SmoothPlastic |
60 | + | Hair.BottomSurface = Enum.SurfaceType.Smooth |
61 | - | o1660.BrickColor = BrickColor.new("Really black") |
61 | + | local Weld = Instance.new("Weld", Hair) |
62 | - | o1660.Transparency = 0.80000001192093 |
62 | + | Weld.Part0 = Head |
63 | - | o1660.Position = Vector3.new(-80488.4453, 26708.084, 109.599678) |
63 | + | Weld.Part1 = Hair |
64 | - | o1660.Rotation = Vector3.new(0, 4.23999977, -90) |
64 | + | Weld.C1 = CFrame.new(0,-0.5,0) |
65 | - | o1660.Anchored = true |
65 | + | HairMesh = Instance.new("FileMesh",Hair) |
66 | - | o1660.CanCollide = false |
66 | + | HairMesh.MeshId = "http://www.roblox.com/asset/?id=15730710" |
67 | - | o1660.Shape = Enum.PartType.Cylinder |
67 | + | HairMesh.TextureId = "http://www.roblox.com/asset/?id=13332337" |
68 | - | o1660.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
68 | + | HairMesh.Scale = Vector3.new(1.1,1.1,1.1) |
69 | - | o1660.CFrame = CFrame.new(-80488.4453, 26708.084, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
69 | + | |
70 | - | o1660.BottomSurface = Enum.SurfaceType.Unjoinable |
70 | + | lit = Instance.new("PointLight",Torso) |
71 | - | o1660.TopSurface = Enum.SurfaceType.Unjoinable |
71 | + | lit.Brightness = 0 |
72 | - | o1660.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
72 | + | lit.Range = 3 |
73 | - | o1660.Position = Vector3.new(-80488.4453, 26708.084, 109.599678) |
73 | + | lit.Color = Color3.fromRGB(180, 128, 255) |
74 | - | o1661.Name = "Cylinder" |
74 | + | |
75 | - | o1661.Parent = o1652 |
75 | + | sin = math.sin |
76 | - | o1661.Material = Enum.Material.SmoothPlastic |
76 | + | Right_Leg.FormFactor = "Custom"; |
77 | - | o1661.BrickColor = BrickColor.new("Really black") |
77 | + | Left_Leg.FormFactor = "Custom"; |
78 | - | o1661.Transparency = 0.80000001192093 |
78 | + | rootPart.Archivable = true; |
79 | - | o1661.Position = Vector3.new(-80488.4453, 26714.209, 109.599678) |
79 | + | rootJoint.Archivable = true; |
80 | - | o1661.Rotation = Vector3.new(0, 4.23999977, -90) |
80 | + | c_new = CFrame.new; |
81 | - | o1661.Anchored = true |
81 | + | c_angles = CFrame.Angles; |
82 | - | o1661.CanCollide = false |
82 | + | i_new = Instance.new |
83 | - | o1661.Shape = Enum.PartType.Cylinder |
83 | + | Humanoid:ClearAllChildren(); |
84 | - | o1661.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
84 | + | local isAttacking = false |
85 | - | o1661.CFrame = CFrame.new(-80488.4453, 26714.209, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
85 | + | local isSprinting = false |
86 | - | o1661.BottomSurface = Enum.SurfaceType.Unjoinable |
86 | + | local Animations = false |
87 | - | o1661.TopSurface = Enum.SurfaceType.Unjoinable |
87 | + | local Angle = 0 |
88 | - | o1661.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
88 | + | local Axis = 0 |
89 | - | o1661.Position = Vector3.new(-80488.4453, 26714.209, 109.599678) |
89 | + | local angleSpeed = 1 |
90 | - | o1662.Name = "Cylinder" |
90 | + | local axisSpeed = angleSpeed |
91 | - | o1662.Parent = o1652 |
91 | + | local currentAnim |
92 | - | o1662.Material = Enum.Material.SmoothPlastic |
92 | + | local levetatingheight = 3 |
93 | - | o1662.BrickColor = BrickColor.new("Really black") |
93 | + | local WalkType = "Ground" |
94 | - | o1662.Transparency = 0.80000001192093 |
94 | + | |
95 | - | o1662.Position = Vector3.new(-80488.4453, 26710.1875, 109.599678) |
95 | + | function Sound(parent,loop,vol,id) |
96 | - | o1662.Rotation = Vector3.new(0, 4.23999977, -90) |
96 | + | local s = Instance.new('Sound',parent) |
97 | - | o1662.Anchored = true |
97 | + | s.Looped = loop |
98 | - | o1662.CanCollide = false |
98 | + | s.Volume = vol |
99 | - | o1662.Shape = Enum.PartType.Cylinder |
99 | + | s.MaxDistance=200 |
100 | - | o1662.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
100 | + | s.EmitterSize=20 |
101 | - | o1662.CFrame = CFrame.new(-80488.4453, 26710.1875, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
101 | + | s.SoundId = 'rbxassetid://'..tostring(id) |
102 | - | o1662.BottomSurface = Enum.SurfaceType.Unjoinable |
102 | + | s:Play() |
103 | - | o1662.TopSurface = Enum.SurfaceType.Unjoinable |
103 | + | if loop == false then |
104 | - | o1662.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
104 | + | wait(s.TimeLength) |
105 | - | o1662.Position = Vector3.new(-80488.4453, 26710.1875, 109.599678) |
105 | + | s:Destroy() |
106 | - | o1663.Name = "Cylinder" |
106 | + | end |
107 | - | o1663.Parent = o1652 |
107 | + | end |
108 | - | o1663.Material = Enum.Material.SmoothPlastic |
108 | + | |
109 | - | o1663.BrickColor = BrickColor.new("Really black") |
109 | + | Sound(rootPart,true,1,708003712) |
110 | - | o1663.Transparency = 0.80000001192093 |
110 | + | |
111 | - | o1663.Position = Vector3.new(-80488.4453, 26702.2852, 109.599678) |
111 | + | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) |
112 | - | o1663.Rotation = Vector3.new(0, 4.23999977, -90) |
112 | + | wld = Instance.new("Weld", wp1) |
113 | - | o1663.Anchored = true |
113 | + | wld.Part0 = wp0 |
114 | - | o1663.CanCollide = false |
114 | + | wld.Part1 = wp1 |
115 | - | o1663.Shape = Enum.PartType.Cylinder |
115 | + | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) |
116 | - | o1663.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
116 | + | return wld |
117 | - | o1663.CFrame = CFrame.new(-80488.4453, 26702.2852, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
117 | + | end |
118 | - | o1663.BottomSurface = Enum.SurfaceType.Unjoinable |
118 | + | |
119 | - | o1663.TopSurface = Enum.SurfaceType.Unjoinable |
119 | + | function noOutline(part) |
120 | - | o1663.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
120 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
121 | - | o1663.Position = Vector3.new(-80488.4453, 26702.2852, 109.599678) |
121 | + | end |
122 | - | o1664.Name = "Cylinder" |
122 | + | |
123 | - | o1664.Parent = o1652 |
123 | + | local function Part(Name,Color, Material, Transparency,Shape, Size, CFrame,CanCollide,Anchored,parent) |
124 | - | o1664.Material = Enum.Material.SmoothPlastic |
124 | + | local partie = i_new("Part",parent) |
125 | - | o1664.BrickColor = BrickColor.new("Really black") |
125 | + | partie.Name=Name |
126 | - | o1664.Transparency = 0.80000001192093 |
126 | + | partie.BrickColor = BrickColor.new(Color) |
127 | - | o1664.Position = Vector3.new(-80488.4453, 26704.416, 109.599678) |
127 | + | partie.Material = Material |
128 | - | o1664.Rotation = Vector3.new(0, 4.23999977, -90) |
128 | + | partie.Shape = Shape |
129 | - | o1664.Anchored = true |
129 | + | partie.Transparency = Transparency |
130 | - | o1664.CanCollide = false |
130 | + | partie.Size = Size |
131 | - | o1664.Shape = Enum.PartType.Cylinder |
131 | + | partie.CFrame = CFrame |
132 | - | o1664.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
132 | + | partie.CanCollide = CanCollide |
133 | - | o1664.CFrame = CFrame.new(-80488.4453, 26704.416, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
133 | + | partie.Anchored = Anchored |
134 | - | o1664.BottomSurface = Enum.SurfaceType.Unjoinable |
134 | + | return partie |
135 | - | o1664.TopSurface = Enum.SurfaceType.Unjoinable |
135 | + | end |
136 | - | o1664.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
136 | + | |
137 | - | o1664.Position = Vector3.new(-80488.4453, 26704.416, 109.599678) |
137 | + | |
138 | - | o1665.Name = "Cylinder" |
138 | + | |
139 | - | o1665.Parent = o1652 |
139 | + | function swait(num) |
140 | - | o1665.Material = Enum.Material.SmoothPlastic |
140 | + | if num == 0 or num == nil then |
141 | - | o1665.BrickColor = BrickColor.new("Really black") |
141 | + | game:GetService("RunService").Stepped:wait(0) |
142 | - | o1665.Transparency = 0.80000001192093 |
142 | + | else |
143 | - | o1665.Position = Vector3.new(-80488.4453, 26712.3184, 109.599678) |
143 | + | for i = 0, num do |
144 | - | o1665.Rotation = Vector3.new(0, 4.23999977, -90) |
144 | + | game:GetService("RunService").Stepped:wait(0) |
145 | - | o1665.Anchored = true |
145 | + | end |
146 | - | o1665.CanCollide = false |
146 | + | end |
147 | - | o1665.Shape = Enum.PartType.Cylinder |
147 | + | end |
148 | - | o1665.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
148 | + | |
149 | - | o1665.CFrame = CFrame.new(-80488.4453, 26712.3184, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
149 | + | function mesh(Mesh, part, meshtype, meshid, offset, scale) |
150 | - | o1665.BottomSurface = Enum.SurfaceType.Unjoinable |
150 | + | local mesh = i_new(Mesh) |
151 | - | o1665.TopSurface = Enum.SurfaceType.Unjoinable |
151 | + | mesh.Parent = part |
152 | - | o1665.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
152 | + | if Mesh == "SpecialMesh" then |
153 | - | o1665.Position = Vector3.new(-80488.4453, 26712.3184, 109.599678) |
153 | + | mesh.MeshType = meshtype |
154 | - | o1666.Name = "Cylinder" |
154 | + | mesh.MeshId = meshid |
155 | - | o1666.Parent = o1652 |
155 | + | end |
156 | - | o1666.Material = Enum.Material.SmoothPlastic |
156 | + | mesh.Offset = offset |
157 | - | o1666.BrickColor = BrickColor.new("Really black") |
157 | + | mesh.Scale = scale |
158 | - | o1666.Transparency = 0.80000001192093 |
158 | + | return mesh |
159 | - | o1666.Position = Vector3.new(-80488.4453, 26715.127, 109.599678) |
159 | + | end |
160 | - | o1666.Rotation = Vector3.new(0, 4.23999977, -90) |
160 | + | mouse = Player:GetMouse() |
161 | - | o1666.Anchored = true |
161 | + | transform = false |
162 | - | o1666.CanCollide = false |
162 | + | debounce = false |
163 | - | o1666.Shape = Enum.PartType.Cylinder |
163 | + | coughing = false |
164 | - | o1666.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
164 | + | |
165 | - | o1666.CFrame = CFrame.new(-80488.4453, 26715.127, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
165 | + | Debris = game:GetService("Debris") |
166 | - | o1666.BottomSurface = Enum.SurfaceType.Unjoinable |
166 | + | |
167 | - | o1666.TopSurface = Enum.SurfaceType.Unjoinable |
167 | + | local Particle = Instance.new("ParticleEmitter",nil) |
168 | - | o1666.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
168 | + | Particle.Enabled = false |
169 | - | o1666.Position = Vector3.new(-80488.4453, 26715.127, 109.599678) |
169 | + | Particle.LightEmission = 0.2 |
170 | - | o1667.Name = "Cylinder" |
170 | + | Particle.Rate = 150 |
171 | - | o1667.Parent = o1652 |
171 | + | Particle.ZOffset = 1 |
172 | - | o1667.Material = Enum.Material.SmoothPlastic |
172 | + | Particle.Rotation = NumberRange.new(-180, 180) |
173 | - | o1667.BrickColor = BrickColor.new("Really black") |
173 | + | |
174 | - | o1667.Transparency = 0.80000001192093 |
174 | + | local RINGFIRE = {} |
175 | - | o1667.Position = Vector3.new(-80488.4453, 26702.7148, 109.599678) |
175 | + | |
176 | - | o1667.Rotation = Vector3.new(0, 4.23999977, -90) |
176 | + | function ParticleEmitter(Table) |
177 | - | o1667.Anchored = true |
177 | + | local PRTCL = Particle:Clone() |
178 | - | o1667.CanCollide = false |
178 | + | local Color1 = Table.Color1 or Color3.new(1,1,1) |
179 | - | o1667.Shape = Enum.PartType.Cylinder |
179 | + | local Color2 = Table.Color2 or Color3.new(1,1,1) |
180 | - | o1667.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
180 | + | local Speed = Table.Speed or 5 |
181 | - | o1667.CFrame = CFrame.new(-80488.4453, 26702.7148, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
181 | + | local Drag = Table.Drag or 0 |
182 | - | o1667.BottomSurface = Enum.SurfaceType.Unjoinable |
182 | + | local Size1 = Table.Size1 or 1 |
183 | - | o1667.TopSurface = Enum.SurfaceType.Unjoinable |
183 | + | local Size2 = Table.Size2 or 5 |
184 | - | o1667.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
184 | + | local Lifetime1 = Table.Lifetime1 or 1 |
185 | - | o1667.Position = Vector3.new(-80488.4453, 26702.7148, 109.599678) |
185 | + | local Lifetime2 = Table.Lifetime2 or 1.5 |
186 | - | o1668.Name = "Cylinder" |
186 | + | local Parent = Table.Parent or Torso |
187 | - | o1668.Parent = o1652 |
187 | + | local Emit = Table.Emit or 100 |
188 | - | o1668.Material = Enum.Material.SmoothPlastic |
188 | + | local Offset = Table.Offset or 360 |
189 | - | o1668.BrickColor = BrickColor.new("Really black") |
189 | + | local Acel = Table.Acel or Vector3.new(0,0,0) |
190 | - | o1668.Transparency = 0.80000001192093 |
190 | + | local Enabled = Table.Enabled or false |
191 | - | o1668.Position = Vector3.new(-80488.4453, 26708.5156, 109.599678) |
191 | + | local Texture = Table.Texture or "281983280" |
192 | - | o1668.Rotation = Vector3.new(0, 4.23999977, -90) |
192 | + | local RotS = Table.RotSpeed or NumberRange.new(-15, 15) |
193 | - | o1668.Anchored = true |
193 | + | local Trans1 = Table.Transparency1 or 0 |
194 | - | o1668.CanCollide = false |
194 | + | local Trans2 = Table.Transparency2 or 0 |
195 | - | o1668.Shape = Enum.PartType.Cylinder |
195 | + | PRTCL.Parent = Parent |
196 | - | o1668.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
196 | + | PRTCL.RotSpeed = RotS |
197 | - | o1668.CFrame = CFrame.new(-80488.4453, 26708.5156, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
197 | + | PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)}) |
198 | - | o1668.BottomSurface = Enum.SurfaceType.Unjoinable |
198 | + | PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture |
199 | - | o1668.TopSurface = Enum.SurfaceType.Unjoinable |
199 | + | PRTCL.Color = ColorSequence.new(Color1,Color2) |
200 | - | o1668.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
200 | + | PRTCL.Size = NumberSequence.new(Size1,Size2) |
201 | - | o1668.Position = Vector3.new(-80488.4453, 26708.5156, 109.599678) |
201 | + | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) |
202 | - | o1669.Name = "Cylinder" |
202 | + | PRTCL.Speed = NumberRange.new(Speed) |
203 | - | o1669.Parent = o1652 |
203 | + | PRTCL.VelocitySpread = Offset |
204 | - | o1669.Material = Enum.Material.SmoothPlastic |
204 | + | PRTCL.Drag = Drag |
205 | - | o1669.BrickColor = BrickColor.new("Really black") |
205 | + | PRTCL.Acceleration = Acel |
206 | - | o1669.Transparency = 0.80000001192093 |
206 | + | if Enabled == false then |
207 | - | o1669.Position = Vector3.new(-80488.4453, 26713.2363, 109.599678) |
207 | + | PRTCL:Emit(Emit) |
208 | - | o1669.Rotation = Vector3.new(0, 4.23999977, -90) |
208 | + | Debris:AddItem(PRTCL,Lifetime2) |
209 | - | o1669.Anchored = true |
209 | + | else |
210 | - | o1669.CanCollide = false |
210 | + | PRTCL.Enabled = true |
211 | - | o1669.Shape = Enum.PartType.Cylinder |
211 | + | end |
212 | - | o1669.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
212 | + | return PRTCL |
213 | - | o1669.CFrame = CFrame.new(-80488.4453, 26713.2363, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
213 | + | end |
214 | - | o1669.BottomSurface = Enum.SurfaceType.Unjoinable |
214 | + | |
215 | - | o1669.TopSurface = Enum.SurfaceType.Unjoinable |
215 | + | local EYE1 = Instance.new("Attachment",Head) |
216 | - | o1669.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
216 | + | EYE1.Position = (Vector3.new(0.4, 0.5, -1.195)/2) |
217 | - | o1669.Position = Vector3.new(-80488.4453, 26713.2363, 109.599678) |
217 | + | local EYE2 = Instance.new("Attachment",Head) |
218 | - | o1670.Name = "Cylinder" |
218 | + | EYE2.Position = (Vector3.new(-0.4, 0.5, -1.195)/2) |
219 | - | o1670.Parent = o1652 |
219 | + | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = Vector3.new(2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = EYE1, Emit = 100, Offset = 360, Enabled = true, Color1 = Color3.fromRGB(180, 128, 255), Color2 = Color3.new(0,0,0), Texture = "1523916715"}) |
220 | - | o1670.Material = Enum.Material.SmoothPlastic |
220 | + | PRTCL.LockedToPart = true |
221 | - | o1670.BrickColor = BrickColor.new("Really black") |
221 | + | PRTCL.Rate = 185 |
222 | - | o1670.Transparency = 0.80000001192093 |
222 | + | PRTCL.ZOffset = 0.1 |
223 | - | o1670.Position = Vector3.new(-80488.4453, 26706.7383, 109.599678) |
223 | + | PRTCL.LightEmission = 1 |
224 | - | o1670.Rotation = Vector3.new(0, 4.23999977, -90) |
224 | + | PRTCL.Enabled = false |
225 | - | o1670.Anchored = true |
225 | + | table.insert(RINGFIRE,PRTCL) |
226 | - | o1670.CanCollide = false |
226 | + | local PRTCL2 = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = Vector3.new(-2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = EYE2, Emit = 100, Offset = 360, Enabled = true, Color1 = Color3.fromRGB(180, 128, 255), Color2 = Color3.new(0,0,0), Texture = "1523916715"}) |
227 | - | o1670.Shape = Enum.PartType.Cylinder |
227 | + | PRTCL2.LockedToPart = true |
228 | - | o1670.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
228 | + | PRTCL2.Rate = 185 |
229 | - | o1670.CFrame = CFrame.new(-80488.4453, 26706.7383, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
229 | + | PRTCL2.ZOffset = 0.1 |
230 | - | o1670.BottomSurface = Enum.SurfaceType.Unjoinable |
230 | + | PRTCL2.LightEmission = 1 |
231 | - | o1670.TopSurface = Enum.SurfaceType.Unjoinable |
231 | + | PRTCL2.Enabled = false |
232 | - | o1670.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
232 | + | table.insert(RINGFIRE,PRTCL2) |
233 | - | o1670.Position = Vector3.new(-80488.4453, 26706.7383, 109.599678) |
233 | + | |
234 | - | o1671.Name = "Cylinder" |
234 | + | talking = false |
235 | - | o1671.Parent = o1652 |
235 | + | |
236 | - | o1671.Material = Enum.Material.SmoothPlastic |
236 | + | mouse.KeyDown:connect(function(key) |
237 | - | o1671.BrickColor = BrickColor.new("Really black") |
237 | + | if key == "e" and transform == false and debounce == false and talking == false then |
238 | - | o1671.Transparency = 0.80000001192093 |
238 | + | debounce = true |
239 | - | o1671.Position = Vector3.new(-80488.4453, 26707.5977, 109.599678) |
239 | + | talking = true |
240 | - | o1671.Rotation = Vector3.new(0, 4.23999977, -90) |
240 | + | SOU = Instance.new("Sound") |
241 | - | o1671.Anchored = true |
241 | + | SOU.Parent = Character.Torso |
242 | - | o1671.CanCollide = false |
242 | + | SOU.SoundId = "rbxassetid://1384757081" |
243 | - | o1671.Shape = Enum.PartType.Cylinder |
243 | + | SOU.Volume = 15 |
244 | - | o1671.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
244 | + | SOU.Looped = false |
245 | - | o1671.CFrame = CFrame.new(-80488.4453, 26707.5977, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
245 | + | SOU.Pitch = 1 |
246 | - | o1671.BottomSurface = Enum.SurfaceType.Unjoinable |
246 | + | SOU.TimePosition = 4.5 |
247 | - | o1671.TopSurface = Enum.SurfaceType.Unjoinable |
247 | + | SOU:Play() |
248 | - | o1671.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
248 | + | wait(1.5) |
249 | - | o1671.Position = Vector3.new(-80488.4453, 26707.5977, 109.599678) |
249 | + | talking = false |
250 | - | o1672.Name = "Cylinder" |
250 | + | HairMesh.TextureId = "http://www.roblox.com/asset/?id=101678162" |
251 | - | o1672.Parent = o1652 |
251 | + | Character['Body Colors'].HeadColor=BrickColor.new('Really black') |
252 | - | o1672.Material = Enum.Material.SmoothPlastic |
252 | + | Character['Body Colors'].TorsoColor=BrickColor.new('Really black') |
253 | - | o1672.BrickColor = BrickColor.new("Really black") |
253 | + | Character['Body Colors'].RightArmColor=BrickColor.new('Really black') |
254 | - | o1672.Transparency = 0.80000001192093 |
254 | + | Character['Body Colors'].LeftArmColor=BrickColor.new('Really black') |
255 | - | o1672.Position = Vector3.new(-80488.4453, 26703.9297, 109.599678) |
255 | + | Character['Body Colors'].RightLegColor=BrickColor.new('Really black') |
256 | - | o1672.Rotation = Vector3.new(0, 4.23999977, -90) |
256 | + | Character['Body Colors'].LeftLegColor=BrickColor.new('Really black') |
257 | - | o1672.Anchored = true |
257 | + | shirt.ShirtTemplate = "rbxassetid://767866442" |
258 | - | o1672.CanCollide = false |
258 | + | pants.PantsTemplate = "rbxassetid://842364401" |
259 | - | o1672.Shape = Enum.PartType.Cylinder |
259 | + | coroutine.wrap(function() |
260 | - | o1672.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
260 | + | wait(7) |
261 | - | o1672.CFrame = CFrame.new(-80488.4453, 26703.9297, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
261 | + | for i = 1,100 do |
262 | - | o1672.BottomSurface = Enum.SurfaceType.Unjoinable |
262 | + | Hair.Transparency = Hair.Transparency + 0.01 |
263 | - | o1672.TopSurface = Enum.SurfaceType.Unjoinable |
263 | + | wait() |
264 | - | o1672.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
264 | + | end |
265 | - | o1672.Position = Vector3.new(-80488.4453, 26703.9297, 109.599678) |
265 | + | end)() |
266 | - | o1673.Name = "Cylinder" |
266 | + | DP = Instance.new("Sound") |
267 | - | o1673.Parent = o1652 |
267 | + | DP.Parent = Character.Torso |
268 | - | o1673.Material = Enum.Material.SmoothPlastic |
268 | + | DP.SoundId = "rbxassetid://244502094" |
269 | - | o1673.BrickColor = BrickColor.new("Really black") |
269 | + | DP.Volume = 10 |
270 | - | o1673.Transparency = 0.80000001192093 |
270 | + | DP.Looped = true |
271 | - | o1673.Position = Vector3.new(-80488.4453, 26711.832, 109.599678) |
271 | + | DP.Pitch = 1 |
272 | - | o1673.Rotation = Vector3.new(0, 4.23999977, -90) |
272 | + | DP:Play() |
273 | - | o1673.Anchored = true |
273 | + | q=Instance.new('ParticleEmitter',Head) |
274 | - | o1673.CanCollide = false |
274 | + | q.Rate = 500 |
275 | - | o1673.Shape = Enum.PartType.Cylinder |
275 | + | q.Speed = NumberRange.new(7) |
276 | - | o1673.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
276 | + | q.VelocitySpread = 0 |
277 | - | o1673.CFrame = CFrame.new(-80488.4453, 26711.832, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
277 | + | q.EmissionDirection = "Front" |
278 | - | o1673.BottomSurface = Enum.SurfaceType.Unjoinable |
278 | + | q.Lifetime = NumberRange.new(0.1,1) |
279 | - | o1673.TopSurface = Enum.SurfaceType.Unjoinable |
279 | + | q.Texture = 'rbxassetid://164417280' |
280 | - | o1673.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
280 | + | q.Acceleration = Vector3.new(0,-50,0) |
281 | - | o1673.Position = Vector3.new(-80488.4453, 26711.832, 109.599678) |
281 | + | q.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.1), NumberSequenceKeypoint.new(1, 0.01, 0.01)}) |
282 | - | o1674.Name = "Cylinder" |
282 | + | q.RotSpeed = NumberRange.new(-180, 180) |
283 | - | o1674.Parent = o1652 |
283 | + | q.Rotation = NumberRange.new(-360, 360) |
284 | - | o1674.Material = Enum.Material.SmoothPlastic |
284 | + | q.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
285 | - | o1674.BrickColor = BrickColor.new("Really black") |
285 | + | coughing = true |
286 | - | o1674.Transparency = 0.80000001192093 |
286 | + | wait(10) --28 is the original but it's too long |
287 | - | o1674.Position = Vector3.new(-80488.4453, 26710.6172, 109.599678) |
287 | + | DP:Stop() |
288 | - | o1674.Rotation = Vector3.new(0, 4.23999977, -90) |
288 | + | q.Enabled = false |
289 | - | o1674.Anchored = true |
289 | + | coughing = false |
290 | - | o1674.CanCollide = false |
290 | + | SOU:Stop() |
291 | - | o1674.Shape = Enum.PartType.Cylinder |
291 | + | wait(1) |
292 | - | o1674.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
292 | + | talking = true |
293 | - | o1674.CFrame = CFrame.new(-80488.4453, 26710.6172, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
293 | + | PRTCL2.Enabled = true |
294 | - | o1674.BottomSurface = Enum.SurfaceType.Unjoinable |
294 | + | PRTCL.Enabled = true |
295 | - | o1674.TopSurface = Enum.SurfaceType.Unjoinable |
295 | + | HoodMesh.MeshId = "http://www.roblox.com/asset/?id=13520257" |
296 | - | o1674.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
296 | + | HoodMesh.TextureId = "http://www.roblox.com/asset/?id=558227098" |
297 | - | o1674.Position = Vector3.new(-80488.4453, 26710.6172, 109.599678) |
297 | + | Head.face.Texture = "rbxassetid://256293532" |
298 | - | o1675.Name = "Cylinder" |
298 | + | Head.face.Color3 = Color3.new(0,0,0) |
299 | - | o1675.Parent = o1652 |
299 | + | S = Instance.new("Sound") |
300 | - | o1675.Material = Enum.Material.SmoothPlastic |
300 | + | S.Parent = Character.Torso |
301 | - | o1675.BrickColor = BrickColor.new("Really black") |
301 | + | S.SoundId = "rbxassetid://858697889" |
302 | - | o1675.Transparency = 0.80000001192093 |
302 | + | S.Volume = 10 |
303 | - | o1675.Position = Vector3.new(-80488.4453, 26705.8203, 109.599678) |
303 | + | S.Looped = false |
304 | - | o1675.Rotation = Vector3.new(0, 4.23999977, -90) |
304 | + | S.Pitch = 1 |
305 | - | o1675.Anchored = true |
305 | + | S:Play() |
306 | - | o1675.CanCollide = false |
306 | + | wait(2) |
307 | - | o1675.Shape = Enum.PartType.Cylinder |
307 | + | talking = false |
308 | - | o1675.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
308 | + | PRTCL2.Enabled = false |
309 | - | o1675.CFrame = CFrame.new(-80488.4453, 26705.8203, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
309 | + | PRTCL.Enabled = false |
310 | - | o1675.BottomSurface = Enum.SurfaceType.Unjoinable |
310 | + | q:Destroy() |
311 | - | o1675.TopSurface = Enum.SurfaceType.Unjoinable |
311 | + | transform = true |
312 | - | o1675.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
312 | + | end end) |
313 | - | o1675.Position = Vector3.new(-80488.4453, 26705.8203, 109.599678) |
313 | + | |
314 | - | o1676.Name = "Cylinder" |
314 | + | mouse.KeyDown:connect(function(key) |
315 | - | o1676.Parent = o1652 |
315 | + | if key == "v" and transform == true and PRTCL.Enabled == false and talking == false then |
316 | - | o1676.Material = Enum.Material.SmoothPlastic |
316 | + | talking = true |
317 | - | o1676.BrickColor = BrickColor.new("Really black") |
317 | + | lit.Brightness = 1 |
318 | - | o1676.Transparency = 0.80000001192093 |
318 | + | PRTCL2.Enabled = true |
319 | - | o1676.Position = Vector3.new(-80488.4453, 26704.8477, 109.599678) |
319 | + | PRTCL.Enabled = true |
320 | - | o1676.Rotation = Vector3.new(0, 4.23999977, -90) |
320 | + | S = Instance.new("Sound") |
321 | - | o1676.Anchored = true |
321 | + | S.Parent = Character.Torso |
322 | - | o1676.CanCollide = false |
322 | + | S.SoundId = "rbxassetid://398631872" |
323 | - | o1676.Shape = Enum.PartType.Cylinder |
323 | + | S.Volume = 10 |
324 | - | o1676.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
324 | + | S.Looped = false |
325 | - | o1676.CFrame = CFrame.new(-80488.4453, 26704.8477, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
325 | + | S.Pitch = 1 |
326 | - | o1676.BottomSurface = Enum.SurfaceType.Unjoinable |
326 | + | S.TimePosition = 2 |
327 | - | o1676.TopSurface = Enum.SurfaceType.Unjoinable |
327 | + | S:Play() |
328 | - | o1676.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
328 | + | wait(14) |
329 | - | o1676.Position = Vector3.new(-80488.4453, 26704.8477, 109.599678) |
329 | + | PRTCL2.Enabled = false |
330 | - | o1677.Name = "Cylinder" |
330 | + | PRTCL.Enabled = false |
331 | - | o1677.Parent = o1652 |
331 | + | lit.Brightness = 0 |
332 | - | o1677.Material = Enum.Material.SmoothPlastic |
332 | + | talking = false |
333 | - | o1677.BrickColor = BrickColor.new("Really black") |
333 | + | end end) |
334 | - | o1677.Transparency = 0.80000001192093 |
334 | + | |
335 | - | o1677.Position = Vector3.new(-80488.4453, 26713.7227, 109.599678) |
335 | + | laughing = false |
336 | - | o1677.Rotation = Vector3.new(0, 4.23999977, -90) |
336 | + | |
337 | - | o1677.Anchored = true |
337 | + | mouse.KeyDown:connect(function(key) |
338 | - | o1677.CanCollide = false |
338 | + | if key == "r" and transform == true and PRTCL.Enabled == false and talking == false then |
339 | - | o1677.Shape = Enum.PartType.Cylinder |
339 | + | talking = true |
340 | - | o1677.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
340 | + | lit.Brightness = 1 |
341 | - | o1677.CFrame = CFrame.new(-80488.4453, 26713.7227, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
341 | + | PRTCL2.Enabled = true |
342 | - | o1677.BottomSurface = Enum.SurfaceType.Unjoinable |
342 | + | PRTCL.Enabled = true |
343 | - | o1677.TopSurface = Enum.SurfaceType.Unjoinable |
343 | + | S = Instance.new("Sound") |
344 | - | o1677.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
344 | + | S.Parent = Character.Torso |
345 | - | o1677.Position = Vector3.new(-80488.4453, 26713.7227, 109.599678) |
345 | + | S.SoundId = "rbxassetid://177359995" |
346 | - | o1678.Name = "Cylinder" |
346 | + | S.Volume = 10 |
347 | - | o1678.Parent = o1652 |
347 | + | S.Looped = false |
348 | - | o1678.Material = Enum.Material.SmoothPlastic |
348 | + | S.Pitch = 1 |
349 | - | o1678.BrickColor = BrickColor.new("Really black") |
349 | + | S:Play() |
350 | - | o1678.Transparency = 0.80000001192093 |
350 | + | wait(3.35) |
351 | - | o1678.Position = Vector3.new(-80488.4453, 26709.6992, 109.599678) |
351 | + | PRTCL2.Enabled = false |
352 | - | o1678.Rotation = Vector3.new(0, 4.23999977, -90) |
352 | + | PRTCL.Enabled = false |
353 | - | o1678.Anchored = true |
353 | + | lit.Brightness = 0 |
354 | - | o1678.CanCollide = false |
354 | + | talking = false |
355 | - | o1678.Shape = Enum.PartType.Cylinder |
355 | + | end end) |
356 | - | o1678.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
356 | + | |
357 | - | o1678.CFrame = CFrame.new(-80488.4453, 26709.6992, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
357 | + | mouse.KeyDown:connect(function(key) |
358 | - | o1678.BottomSurface = Enum.SurfaceType.Unjoinable |
358 | + | if key == "t" and transform == true and PRTCL.Enabled == false and talking == false then |
359 | - | o1678.TopSurface = Enum.SurfaceType.Unjoinable |
359 | + | talking = true |
360 | - | o1678.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
360 | + | PRTCL2.Enabled = true |
361 | - | o1678.Position = Vector3.new(-80488.4453, 26709.6992, 109.599678) |
361 | + | PRTCL.Enabled = true |
362 | - | o1679.Name = "Cylinder" |
362 | + | lit.Brightness = 1 |
363 | - | o1679.Parent = o1652 |
363 | + | S = Instance.new("Sound") |
364 | - | o1679.Material = Enum.Material.SmoothPlastic |
364 | + | S.Parent = Character.Torso |
365 | - | o1679.BrickColor = BrickColor.new("Really black") |
365 | + | S.SoundId = "rbxassetid://858697889" |
366 | - | o1679.Transparency = 0.80000001192093 |
366 | + | S.Volume = 10 |
367 | - | o1679.Position = Vector3.new(-80488.4453, 26715.5, 109.599678) |
367 | + | S.Looped = false |
368 | - | o1679.Rotation = Vector3.new(0, 4.23999977, -90) |
368 | + | S.Pitch = 1 |
369 | - | o1679.Anchored = true |
369 | + | S:Play() |
370 | - | o1679.CanCollide = false |
370 | + | wait(3.8) |
371 | - | o1679.Shape = Enum.PartType.Cylinder |
371 | + | PRTCL2.Enabled = false |
372 | - | o1679.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
372 | + | PRTCL.Enabled = false |
373 | - | o1679.CFrame = CFrame.new(-80488.4453, 26715.5, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
373 | + | lit.Brightness = 0 |
374 | - | o1679.BottomSurface = Enum.SurfaceType.Unjoinable |
374 | + | talking = false |
375 | - | o1679.TopSurface = Enum.SurfaceType.Unjoinable |
375 | + | end end) |
376 | - | o1679.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
376 | + | |
377 | - | o1679.Position = Vector3.new(-80488.4453, 26715.5, 109.599678) |
377 | + | mouse.KeyDown:connect(function(key) |
378 | - | o1680.Name = "Cylinder" |
378 | + | if key == "y" and transform == true then |
379 | - | o1680.Parent = o1652 |
379 | + | S = Instance.new("Sound") |
380 | - | o1680.Material = Enum.Material.SmoothPlastic |
380 | + | S.Parent = Character.Torso |
381 | - | o1680.BrickColor = BrickColor.new("Really black") |
381 | + | S.SoundId = "rbxassetid://708003498" |
382 | - | o1680.Transparency = 0.80000001192093 |
382 | + | S.Volume = 10 |
383 | - | o1680.Position = Vector3.new(-80488.4453, 26701.7969, 109.599678) |
383 | + | S.Looped = false |
384 | - | o1680.Rotation = Vector3.new(0, 4.23999977, -90) |
384 | + | S.Pitch = 1 |
385 | - | o1680.Anchored = true |
385 | + | S:Play() |
386 | - | o1680.CanCollide = false |
386 | + | end end) |
387 | - | o1680.Shape = Enum.PartType.Cylinder |
387 | + | |
388 | - | o1680.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
388 | + | mouse.KeyDown:connect(function(key) |
389 | - | o1680.CFrame = CFrame.new(-80488.4453, 26701.7969, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
389 | + | if key == "r" and transform == false and talking == false then |
390 | - | o1680.BottomSurface = Enum.SurfaceType.Unjoinable |
390 | + | talking = true |
391 | - | o1680.TopSurface = Enum.SurfaceType.Unjoinable |
391 | + | S = Instance.new("Sound") |
392 | - | o1680.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
392 | + | S.Parent = Character.Torso |
393 | - | o1680.Position = Vector3.new(-80488.4453, 26701.7969, 109.599678) |
393 | + | S.SoundId = "rbxassetid://155074440" |
394 | - | o1681.Name = "Cylinder" |
394 | + | S.Volume = 10 |
395 | - | o1681.Parent = o1652 |
395 | + | S.Looped = false |
396 | - | o1681.Material = Enum.Material.SmoothPlastic |
396 | + | S.Pitch = 1 |
397 | - | o1681.BrickColor = BrickColor.new("Really black") |
397 | + | S.TimePosition = 0.4 |
398 | - | o1681.Transparency = 0.80000001192093 |
398 | + | S:Play() |
399 | - | o1681.Position = Vector3.new(-80488.4453, 26714.6406, 109.599678) |
399 | + | wait(6) |
400 | - | o1681.Rotation = Vector3.new(0, 4.23999977, -90) |
400 | + | talking = false |
401 | - | o1681.Anchored = true |
401 | + | end end) |
402 | - | o1681.CanCollide = false |
402 | + | |
403 | - | o1681.Shape = Enum.PartType.Cylinder |
403 | + | mouse.KeyDown:connect(function(key) |
404 | - | o1681.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
404 | + | if key == "t" and transform == false and talking == false then |
405 | - | o1681.CFrame = CFrame.new(-80488.4453, 26714.6406, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
405 | + | talking = true |
406 | - | o1681.BottomSurface = Enum.SurfaceType.Unjoinable |
406 | + | S = Instance.new("Sound") |
407 | - | o1681.TopSurface = Enum.SurfaceType.Unjoinable |
407 | + | S.Parent = Character.Torso |
408 | - | o1681.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
408 | + | S.SoundId = "rbxassetid://494478995" |
409 | - | o1681.Position = Vector3.new(-80488.4453, 26714.6406, 109.599678) |
409 | + | S.Volume = 10 |
410 | - | o1682.Name = "Cylinder" |
410 | + | S.Looped = false |
411 | - | o1682.Parent = o1652 |
411 | + | S.Pitch = 1 |
412 | - | o1682.Material = Enum.Material.SmoothPlastic |
412 | + | S:Play() |
413 | - | o1682.BrickColor = BrickColor.new("Really black") |
413 | + | wait(5.04) |
414 | - | o1682.Transparency = 0.80000001192093 |
414 | + | talking = false |
415 | - | o1682.Position = Vector3.new(-80488.4453, 26712.75, 109.599678) |
415 | + | end end) |
416 | - | o1682.Rotation = Vector3.new(0, 4.23999977, -90) |
416 | + | |
417 | - | o1682.Anchored = true |
417 | + | q1=Instance.new('ParticleEmitter',Head) |
418 | - | o1682.CanCollide = false |
418 | + | q1.Rate = 500 |
419 | - | o1682.Shape = Enum.PartType.Cylinder |
419 | + | q1.Speed = NumberRange.new(7) |
420 | - | o1682.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
420 | + | q1.VelocitySpread = 0 |
421 | - | o1682.CFrame = CFrame.new(-80488.4453, 26712.75, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
421 | + | q1.EmissionDirection = "Front" |
422 | - | o1682.BottomSurface = Enum.SurfaceType.Unjoinable |
422 | + | q1.Lifetime = NumberRange.new(0.1,1) |
423 | - | o1682.TopSurface = Enum.SurfaceType.Unjoinable |
423 | + | q1.Texture = 'rbxassetid://164417280' |
424 | - | o1682.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
424 | + | q1.Acceleration = Vector3.new(0,-50,0) |
425 | - | o1682.Position = Vector3.new(-80488.4453, 26712.75, 109.599678) |
425 | + | q1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.1), NumberSequenceKeypoint.new(1, 0.01, 0.01)}) |
426 | - | o1683.Name = "Cylinder" |
426 | + | q1.RotSpeed = NumberRange.new(-180, 180) |
427 | - | o1683.Parent = o1652 |
427 | + | q1.Rotation = NumberRange.new(-360, 360) |
428 | - | o1683.Material = Enum.Material.SmoothPlastic |
428 | + | q1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
429 | - | o1683.BrickColor = BrickColor.new("Really black") |
429 | + | q1.Enabled = false |
430 | - | o1683.Transparency = 0.80000001192093 |
430 | + | |
431 | - | o1683.Position = Vector3.new(-80488.4453, 26716.418, 109.599678) |
431 | + | mouse.KeyDown:connect(function(key) |
432 | - | o1683.Rotation = Vector3.new(0, 4.23999977, -90) |
432 | + | if key == "f" and transform == true then |
433 | - | o1683.Anchored = true |
433 | + | S = Instance.new("Sound") |
434 | - | o1683.CanCollide = false |
434 | + | S.Parent = Character.Torso |
435 | - | o1683.Shape = Enum.PartType.Cylinder |
435 | + | S.SoundId = "rbxassetid://176850421" |
436 | - | o1683.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
436 | + | S.Volume = 10 |
437 | - | o1683.CFrame = CFrame.new(-80488.4453, 26716.418, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
437 | + | S.Looped = false |
438 | - | o1683.BottomSurface = Enum.SurfaceType.Unjoinable |
438 | + | S.Pitch = 1 |
439 | - | o1683.TopSurface = Enum.SurfaceType.Unjoinable |
439 | + | S:Play() |
440 | - | o1683.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
440 | + | end end) |
441 | - | o1683.Position = Vector3.new(-80488.4453, 26716.418, 109.599678) |
441 | + | |
442 | - | o1684.Name = "Cylinder" |
442 | + | toggle = false |
443 | - | o1684.Parent = o1652 |
443 | + | |
444 | - | o1684.Material = Enum.Material.SmoothPlastic |
444 | + | mouse.KeyDown:connect(function(key) |
445 | - | o1684.BrickColor = BrickColor.new("Really black") |
445 | + | if key == "f" and transform == false and talking == false then |
446 | - | o1684.Transparency = 0.80000001192093 |
446 | + | talking = true |
447 | - | o1684.Position = Vector3.new(-80488.4453, 26708.7227, 109.599678) |
447 | + | S = Instance.new("Sound") |
448 | - | o1684.Rotation = Vector3.new(0, 4.23999977, -90) |
448 | + | S.Parent = Character.Torso |
449 | - | o1684.Anchored = true |
449 | + | S.SoundId = "rbxassetid://1765588386" |
450 | - | o1684.CanCollide = false |
450 | + | S.Volume = 10 |
451 | - | o1684.Shape = Enum.PartType.Cylinder |
451 | + | S.Looped = false |
452 | - | o1684.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
452 | + | S.Pitch = 1 |
453 | - | o1684.CFrame = CFrame.new(-80488.4453, 26708.7227, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
453 | + | S:Play() |
454 | - | o1684.BottomSurface = Enum.SurfaceType.Unjoinable |
454 | + | wait(18.5) |
455 | - | o1684.TopSurface = Enum.SurfaceType.Unjoinable |
455 | + | talking = false |
456 | - | o1684.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
456 | + | end end) |
457 | - | o1684.Position = Vector3.new(-80488.4453, 26708.7227, 109.599678) |
457 | + | |
458 | - | o1685.Name = "Cylinder" |
458 | + | mouse.KeyDown:connect(function(key) |
459 | - | o1685.Parent = o1652 |
459 | + | if key == "j" and transform == false and talking == false then |
460 | - | o1685.Material = Enum.Material.SmoothPlastic |
460 | + | talking = true |
461 | - | o1685.BrickColor = BrickColor.new("Really black") |
461 | + | S = Instance.new("Sound") |
462 | - | o1685.Transparency = 0.80000001192093 |
462 | + | S.Parent = Character.Torso |
463 | - | o1685.Position = Vector3.new(-80488.4453, 26702.9238, 109.599678) |
463 | + | S.SoundId = "rbxassetid://936161138" |
464 | - | o1685.Rotation = Vector3.new(0, 4.23999977, -90) |
464 | + | S.Volume = 10 |
465 | - | o1685.Anchored = true |
465 | + | S.Looped = false |
466 | - | o1685.CanCollide = false |
466 | + | S.Pitch = 1 |
467 | - | o1685.Shape = Enum.PartType.Cylinder |
467 | + | S:Play() |
468 | - | o1685.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
468 | + | wait(24.73) |
469 | - | o1685.CFrame = CFrame.new(-80488.4453, 26702.9238, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
469 | + | talking = false |
470 | - | o1685.BottomSurface = Enum.SurfaceType.Unjoinable |
470 | + | end end) |
471 | - | o1685.TopSurface = Enum.SurfaceType.Unjoinable |
471 | + | |
472 | - | o1685.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
472 | + | mouse.KeyDown:connect(function(key) |
473 | - | o1685.Position = Vector3.new(-80488.4453, 26702.9238, 109.599678) |
473 | + | if key == "k" and transform == false and talking == false then |
474 | - | o1686.Name = "Cylinder" |
474 | + | talking = true |
475 | - | o1686.Parent = o1652 |
475 | + | S = Instance.new("Sound") |
476 | - | o1686.Material = Enum.Material.SmoothPlastic |
476 | + | S.Parent = Character.Torso |
477 | - | o1686.BrickColor = BrickColor.new("Really black") |
477 | + | S.SoundId = "rbxassetid://936159847" |
478 | - | o1686.Transparency = 0.80000001192093 |
478 | + | S.Volume = 10 |
479 | - | o1686.Position = Vector3.new(-80488.4453, 26705.0547, 109.599678) |
479 | + | S.Looped = false |
480 | - | o1686.Rotation = Vector3.new(0, 4.23999977, -90) |
480 | + | S.Pitch = 1 |
481 | - | o1686.Anchored = true |
481 | + | S:Play() |
482 | - | o1686.CanCollide = false |
482 | + | wait(27.22) |
483 | - | o1686.Shape = Enum.PartType.Cylinder |
483 | + | talking = false |
484 | - | o1686.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
484 | + | end end) |
485 | - | o1686.CFrame = CFrame.new(-80488.4453, 26705.0547, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
485 | + | |
486 | - | o1686.BottomSurface = Enum.SurfaceType.Unjoinable |
486 | + | mouse.KeyDown:connect(function(key) |
487 | - | o1686.TopSurface = Enum.SurfaceType.Unjoinable |
487 | + | if key == "l" and transform == false and talking == false then |
488 | - | o1686.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
488 | + | talking = true |
489 | - | o1686.Position = Vector3.new(-80488.4453, 26705.0547, 109.599678) |
489 | + | S = Instance.new("Sound") |
490 | - | o1687.Name = "Cylinder" |
490 | + | S.Parent = Character.Torso |
491 | - | o1687.Parent = o1652 |
491 | + | S.SoundId = "rbxassetid://936162120" |
492 | - | o1687.Material = Enum.Material.SmoothPlastic |
492 | + | S.Volume = 10 |
493 | - | o1687.BrickColor = BrickColor.new("Really black") |
493 | + | S.Looped = false |
494 | - | o1687.Transparency = 0.80000001192093 |
494 | + | S.Pitch = 1 |
495 | - | o1687.Position = Vector3.new(-80488.4453, 26706.9453, 109.599678) |
495 | + | S:Play() |
496 | - | o1687.Rotation = Vector3.new(0, 4.23999977, -90) |
496 | + | wait(25.3) |
497 | - | o1687.Anchored = true |
497 | + | talking = false |
498 | - | o1687.CanCollide = false |
498 | + | end end) |
499 | - | o1687.Shape = Enum.PartType.Cylinder |
499 | + | |
500 | - | o1687.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
500 | + | mouse.KeyDown:connect(function(key) |
501 | - | o1687.CFrame = CFrame.new(-80488.4453, 26706.9453, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
501 | + | if transform == true then |
502 | - | o1687.BottomSurface = Enum.SurfaceType.Unjoinable |
502 | + | |
503 | - | o1687.TopSurface = Enum.SurfaceType.Unjoinable |
503 | + | |
504 | - | o1687.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
504 | + | if key == "x" then |
505 | - | o1687.Position = Vector3.new(-80488.4453, 26706.9453, 109.599678) |
505 | + | if coughing == false then |
506 | - | o1688.Name = "Cylinder" |
506 | + | coughing = true |
507 | - | o1688.Parent = o1652 |
507 | + | HoodMesh.MeshId = "http://www.roblox.com/asset/?id=13520910" |
508 | - | o1688.Material = Enum.Material.SmoothPlastic |
508 | + | HoodMesh.TextureId = "http://www.roblox.com/asset/?id=1772096775" |
509 | - | o1688.BrickColor = BrickColor.new("Really black") |
509 | + | q1.Enabled = true |
510 | - | o1688.Transparency = 0.80000001192093 |
510 | + | ZZ = Instance.new("Sound") |
511 | - | o1688.Position = Vector3.new(-80488.4453, 26716.9043, 109.599678) |
511 | + | ZZ.Parent = Character.Torso |
512 | - | o1688.Rotation = Vector3.new(0, 4.23999977, -90) |
512 | + | ZZ.SoundId = "rbxassetid://244502094" |
513 | - | o1688.Anchored = true |
513 | + | ZZ.Volume = 10 |
514 | - | o1688.CanCollide = false |
514 | + | ZZ.Looped = true |
515 | - | o1688.Shape = Enum.PartType.Cylinder |
515 | + | ZZ.Pitch = 1 |
516 | - | o1688.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
516 | + | ZZ:Play() |
517 | - | o1688.CFrame = CFrame.new(-80488.4453, 26716.9043, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
517 | + | ZZ2 = Instance.new("Sound") |
518 | - | o1688.BottomSurface = Enum.SurfaceType.Unjoinable |
518 | + | ZZ2.Parent = Character.Torso |
519 | - | o1688.TopSurface = Enum.SurfaceType.Unjoinable |
519 | + | ZZ2.SoundId = "rbxassetid://300046017" |
520 | - | o1688.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
520 | + | ZZ2.Volume = 2 |
521 | - | o1688.Position = Vector3.new(-80488.4453, 26716.9043, 109.599678) |
521 | + | ZZ2.Looped = true |
522 | - | o1689.Name = "Cylinder" |
522 | + | ZZ2.Pitch = 1 |
523 | - | o1689.Parent = o1652 |
523 | + | ZZ2:Play() |
524 | - | o1689.Material = Enum.Material.SmoothPlastic |
524 | + | elseif coughing == true then |
525 | - | o1689.BrickColor = BrickColor.new("Really black") |
525 | + | coughing = false |
526 | - | o1689.Transparency = 0.80000001192093 |
526 | + | HoodMesh.MeshId = "http://www.roblox.com/asset/?id=13520257" |
527 | - | o1689.Position = Vector3.new(-80488.4453, 26706.0273, 109.599678) |
527 | + | HoodMesh.TextureId = "http://www.roblox.com/asset/?id=558227098" |
528 | - | o1689.Rotation = Vector3.new(0, 4.23999977, -90) |
528 | + | ZZ:Destroy() |
529 | - | o1689.Anchored = true |
529 | + | ZZ2:Destroy() |
530 | - | o1689.CanCollide = false |
530 | + | q1.Enabled = false |
531 | - | o1689.Shape = Enum.PartType.Cylinder |
531 | + | end |
532 | - | o1689.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
532 | + | end |
533 | - | o1689.CFrame = CFrame.new(-80488.4453, 26706.0273, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
533 | + | |
534 | - | o1689.BottomSurface = Enum.SurfaceType.Unjoinable |
534 | + | |
535 | - | o1689.TopSurface = Enum.SurfaceType.Unjoinable |
535 | + | end |
536 | - | o1689.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
536 | + | end) |
537 | - | o1689.Position = Vector3.new(-80488.4453, 26706.0273, 109.599678) |
537 | + | |
538 | - | o1690.Name = "Cylinder" |
538 | + | mouse.KeyDown:connect(function(key) |
539 | - | o1690.Parent = o1652 |
539 | + | if key == "m" and talking == false then |
540 | - | o1690.Material = Enum.Material.SmoothPlastic |
540 | + | talking = true |
541 | - | o1690.BrickColor = BrickColor.new("Really black") |
541 | + | S = Instance.new("Sound") |
542 | - | o1690.Transparency = 0.80000001192093 |
542 | + | S.Parent = Character.Torso |
543 | - | o1690.Position = Vector3.new(-80488.4453, 26715.707, 109.599678) |
543 | + | S.SoundId = "rbxassetid://1766163151" |
544 | - | o1690.Rotation = Vector3.new(0, 4.23999977, -90) |
544 | + | S.Volume = 10 |
545 | - | o1690.Anchored = true |
545 | + | S.Looped = false |
546 | - | o1690.CanCollide = false |
546 | + | S.Pitch = 1 |
547 | - | o1690.Shape = Enum.PartType.Cylinder |
547 | + | S:Play() |
548 | - | o1690.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
548 | + | wait(2.38) |
549 | - | o1690.CFrame = CFrame.new(-80488.4453, 26715.707, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
549 | + | talking = false |
550 | - | o1690.BottomSurface = Enum.SurfaceType.Unjoinable |
550 | + | end end) |
551 | - | o1690.TopSurface = Enum.SurfaceType.Unjoinable |
551 | + | |
552 | - | o1690.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
552 | + | mouse.KeyDown:connect(function(key) |
553 | - | o1690.Position = Vector3.new(-80488.4453, 26715.707, 109.599678) |
553 | + | if key == "n" and talking == false then |
554 | - | o1691.Name = "Cylinder" |
554 | + | talking = true |
555 | - | o1691.Parent = o1652 |
555 | + | S = Instance.new("Sound") |
556 | - | o1691.Material = Enum.Material.SmoothPlastic |
556 | + | S.Parent = Character.Torso |
557 | - | o1691.BrickColor = BrickColor.new("Really black") |
557 | + | S.SoundId = "rbxassetid://1766162663" |
558 | - | o1691.Transparency = 0.80000001192093 |
558 | + | S.Volume = 10 |
559 | - | o1691.Position = Vector3.new(-80488.4453, 26702.0059, 109.599678) |
559 | + | S.Looped = false |
560 | - | o1691.Rotation = Vector3.new(0, 4.23999977, -90) |
560 | + | S.Pitch = 1 |
561 | - | o1691.Anchored = true |
561 | + | S:Play() |
562 | - | o1691.CanCollide = false |
562 | + | wait(4.13) |
563 | - | o1691.Shape = Enum.PartType.Cylinder |
563 | + | talking = false |
564 | - | o1691.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
564 | + | end end) |
565 | - | o1691.CFrame = CFrame.new(-80488.4453, 26702.0059, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
565 | + | |
566 | - | o1691.BottomSurface = Enum.SurfaceType.Unjoinable |
566 | + | function findCloseHumanoid(centre, distance) |
567 | - | o1691.TopSurface = Enum.SurfaceType.Unjoinable |
567 | + | local tab = {} |
568 | - | o1691.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
568 | + | for _, child in pairs(game.Workspace:GetChildren()) do |
569 | - | o1691.Position = Vector3.new(-80488.4453, 26702.0059, 109.599678) |
569 | + | if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then |
570 | - | o1692.Name = "Cylinder" |
570 | + | local vtors = child.Torso |
571 | - | o1692.Parent = o1652 |
571 | + | local mag = math.abs((vtors.Position - centre).magnitude) |
572 | - | o1692.Material = Enum.Material.SmoothPlastic |
572 | + | if distance >= mag then |
573 | - | o1692.BrickColor = BrickColor.new("Really black") |
573 | + | table.insert(tab, child.Humanoid) |
574 | - | o1692.Transparency = 0.80000001192093 |
574 | + | end |
575 | - | o1692.Position = Vector3.new(-80488.4453, 26707.8047, 109.599678) |
575 | + | end |
576 | - | o1692.Rotation = Vector3.new(0, 4.23999977, -90) |
576 | + | end |
577 | - | o1692.Anchored = true |
577 | + | return tab |
578 | - | o1692.CanCollide = false |
578 | + | end |
579 | - | o1692.Shape = Enum.PartType.Cylinder |
579 | + | |
580 | - | o1692.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
580 | + | |
581 | - | o1692.CFrame = CFrame.new(-80488.4453, 26707.8047, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
581 | + | function onTouch(part) |
582 | - | o1692.BottomSurface = Enum.SurfaceType.Unjoinable |
582 | + | |
583 | - | o1692.TopSurface = Enum.SurfaceType.Unjoinable |
583 | + | local humanoid = part.Parent:findFirstChild("Humanoid") |
584 | - | o1692.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
584 | + | local model = part.Parent |
585 | - | o1692.Position = Vector3.new(-80488.4453, 26707.8047, 109.599678) |
585 | + | local torso = part.Parent:findFirstChild("Torso") |
586 | - | o1693.Name = "Cylinder" |
586 | + | local head = part.Parent:findFirstChild("Head") |
587 | - | o1693.Parent = o1652 |
587 | + | local leftleg = part.Parent:findFirstChild("Left Leg") |
588 | - | o1693.Material = Enum.Material.SmoothPlastic |
588 | + | local rightleg = part.Parent:findFirstChild("Right Leg") |
589 | - | o1693.BrickColor = BrickColor.new("Really black") |
589 | + | local leftarm = part.Parent:findFirstChild("Left Arm") |
590 | - | o1693.Transparency = 0.80000001192093 |
590 | + | local rightarm = part.Parent:findFirstChild("Right Arm") |
591 | - | o1693.Position = Vector3.new(-80488.4453, 26710.8262, 109.599678) |
591 | + | if humanoid.Health <= 0 then |
592 | - | o1693.Rotation = Vector3.new(0, 4.23999977, -90) |
592 | + | return |
593 | - | o1693.Anchored = true |
593 | + | end |
594 | - | o1693.CanCollide = false |
594 | + | if transform == false then |
595 | - | o1693.Shape = Enum.PartType.Cylinder |
595 | + | return |
596 | - | o1693.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
596 | + | end |
597 | - | o1693.CFrame = CFrame.new(-80488.4453, 26710.8262, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
597 | + | |
598 | - | o1693.BottomSurface = Enum.SurfaceType.Unjoinable |
598 | + | for i, v in pairs(findCloseHumanoid(Torso.Position, 10)) do |
599 | - | o1693.TopSurface = Enum.SurfaceType.Unjoinable |
599 | + | humanoid.Health = 0 |
600 | - | o1693.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
600 | + | head.BrickColor = BrickColor.new("Really black") |
601 | - | o1693.Position = Vector3.new(-80488.4453, 26710.8262, 109.599678) |
601 | + | torso.BrickColor = BrickColor.new("Really black") |
602 | - | o1694.Name = "Cylinder" |
602 | + | leftleg.BrickColor = BrickColor.new("Really black") |
603 | - | o1694.Parent = o1652 |
603 | + | rightleg.BrickColor = BrickColor.new("Really black") |
604 | - | o1694.Material = Enum.Material.SmoothPlastic |
604 | + | rightarm.BrickColor = BrickColor.new("Really black") |
605 | - | o1694.BrickColor = BrickColor.new("Really black") |
605 | + | leftarm.BrickColor = BrickColor.new("Really black") |
606 | - | o1694.Transparency = 0.80000001192093 |
606 | + | torso.Anchored = true |
607 | - | o1694.Position = Vector3.new(-80488.4453, 26709.9063, 109.599678) |
607 | + | |
608 | - | o1694.Rotation = Vector3.new(0, 4.23999977, -90) |
608 | + | e=Instance.new('Part', model) |
609 | - | o1694.Anchored = true |
609 | + | e.Size = Vector3.new(2.25,2.25,2.25) |
610 | - | o1694.CanCollide = false |
610 | + | e.Transparency = 1 |
611 | - | o1694.Shape = Enum.PartType.Cylinder |
611 | + | e.Anchored = true |
612 | - | o1694.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
612 | + | e.CFrame = CFrame.new(head.Position) |
613 | - | o1694.CFrame = CFrame.new(-80488.4453, 26709.9063, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
613 | + | |
614 | - | o1694.BottomSurface = Enum.SurfaceType.Unjoinable |
614 | + | |
615 | - | o1694.TopSurface = Enum.SurfaceType.Unjoinable |
615 | + | q=Instance.new('ParticleEmitter', e) |
616 | - | o1694.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
616 | + | q.Rate = 500 |
617 | - | o1694.Position = Vector3.new(-80488.4453, 26709.9063, 109.599678) |
617 | + | q.Speed = NumberRange.new(7) |
618 | - | o1695.Name = "Cylinder" |
618 | + | q.VelocitySpread = 40 |
619 | - | o1695.Parent = o1652 |
619 | + | q.Lifetime = NumberRange.new(0.1,1) |
620 | - | o1695.Material = Enum.Material.SmoothPlastic |
620 | + | q.Texture = 'rbxassetid://164417280' |
621 | - | o1695.BrickColor = BrickColor.new("Really black") |
621 | + | q.Acceleration = Vector3.new(0,-50,0) |
622 | - | o1695.Transparency = 0.80000001192093 |
622 | + | q.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.1), NumberSequenceKeypoint.new(1, 0.01, 0.01)}) |
623 | - | o1695.Position = Vector3.new(-80488.4453, 26704.1367, 109.599678) |
623 | + | q.RotSpeed = NumberRange.new(-180, 180) |
624 | - | o1695.Rotation = Vector3.new(0, 4.23999977, -90) |
624 | + | q.Rotation = NumberRange.new(-360, 360) |
625 | - | o1695.Anchored = true |
625 | + | q.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
626 | - | o1695.CanCollide = false |
626 | + | |
627 | - | o1695.Shape = Enum.PartType.Cylinder |
627 | + | torso.Anchored = true |
628 | - | o1695.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
628 | + | rightleg.Anchored = true |
629 | - | o1695.CFrame = CFrame.new(-80488.4453, 26704.1367, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
629 | + | leftleg.Anchored = true |
630 | - | o1695.BottomSurface = Enum.SurfaceType.Unjoinable |
630 | + | rightarm.Anchored = true |
631 | - | o1695.TopSurface = Enum.SurfaceType.Unjoinable |
631 | + | leftarm.Anchored = true |
632 | - | o1695.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
632 | + | ded = Instance.new("Sound") |
633 | - | o1695.Position = Vector3.new(-80488.4453, 26704.1367, 109.599678) |
633 | + | ded.Parent = torso |
634 | - | o1696.Name = "Cylinder" |
634 | + | ded.SoundId = "rbxassetid://658228911" |
635 | - | o1696.Parent = o1652 |
635 | + | ded.Volume = 3 |
636 | - | o1696.Material = Enum.Material.SmoothPlastic |
636 | + | ded.Looped = false |
637 | - | o1696.BrickColor = BrickColor.new("Really black") |
637 | + | wait() |
638 | - | o1696.Transparency = 0.80000001192093 |
638 | + | ded:Play() |
639 | - | o1696.Position = Vector3.new(-80488.4453, 26712.0391, 109.599678) |
639 | + | end |
640 | - | o1696.Rotation = Vector3.new(0, 4.23999977, -90) |
640 | + | |
641 | - | o1696.Anchored = true |
641 | + | end |
642 | - | o1696.CanCollide = false |
642 | + | |
643 | - | o1696.Shape = Enum.PartType.Cylinder |
643 | + | |
644 | - | o1696.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
644 | + | |
645 | - | o1696.CFrame = CFrame.new(-80488.4453, 26712.0391, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
645 | + | Character.Torso.Touched:connect(onTouch) |
646 | - | o1696.BottomSurface = Enum.SurfaceType.Unjoinable |
646 | + | |
647 | - | o1696.TopSurface = Enum.SurfaceType.Unjoinable |
647 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position, Direction, MaxDistance, IgnoreDescendants |
648 | - | o1696.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
648 | + | return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
649 | - | o1696.Position = Vector3.new(-80488.4453, 26712.0391, 109.599678) |
649 | + | end |
650 | - | o1697.Name = "Cylinder" |
650 | + | |
651 | - | o1697.Parent = o1652 |
651 | + | function QuaternionFromCFrame(cf) |
652 | - | o1697.Material = Enum.Material.SmoothPlastic |
652 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
653 | - | o1697.BrickColor = BrickColor.new("Really black") |
653 | + | local trace = m00 + m11 + m22 |
654 | - | o1697.Transparency = 0.80000001192093 |
654 | + | if trace > 0 then |
655 | - | o1697.Position = Vector3.new(-80488.4453, 26713.9297, 109.599678) |
655 | + | local s = math.sqrt(1 + trace) |
656 | - | o1697.Rotation = Vector3.new(0, 4.23999977, -90) |
656 | + | local recip = 0.5/s |
657 | - | o1697.Anchored = true |
657 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
658 | - | o1697.CanCollide = false |
658 | + | else |
659 | - | o1697.Shape = Enum.PartType.Cylinder |
659 | + | local i = 0 |
660 | - | o1697.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
660 | + | if m11 > m00 then |
661 | - | o1697.CFrame = CFrame.new(-80488.4453, 26713.9297, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
661 | + | i = 1 |
662 | - | o1697.BottomSurface = Enum.SurfaceType.Unjoinable |
662 | + | end |
663 | - | o1697.TopSurface = Enum.SurfaceType.Unjoinable |
663 | + | if m22 > (i == 0 and m00 or m11) then |
664 | - | o1697.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
664 | + | i = 2 |
665 | - | o1697.Position = Vector3.new(-80488.4453, 26713.9297, 109.599678) |
665 | + | end |
666 | - | o1698.Name = "Cylinder" |
666 | + | if i == 0 then |
667 | - | o1698.Parent = o1652 |
667 | + | local s = math.sqrt(m00-m11-m22+1) |
668 | - | o1698.Material = Enum.Material.SmoothPlastic |
668 | + | local recip = 0.5/s |
669 | - | o1698.BrickColor = BrickColor.new("Really black") |
669 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
670 | - | o1698.Transparency = 0.80000001192093 |
670 | + | elseif i == 1 then |
671 | - | o1698.Position = Vector3.new(-80488.4453, 26714.8477, 109.599678) |
671 | + | local s = math.sqrt(m11-m22-m00+1) |
672 | - | o1698.Rotation = Vector3.new(0, 4.23999977, -90) |
672 | + | local recip = 0.5/s |
673 | - | o1698.Anchored = true |
673 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
674 | - | o1698.CanCollide = false |
674 | + | elseif i == 2 then |
675 | - | o1698.Shape = Enum.PartType.Cylinder |
675 | + | local s = math.sqrt(m22-m00-m11+1) |
676 | - | o1698.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
676 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
677 | - | o1698.CFrame = CFrame.new(-80488.4453, 26714.8477, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
677 | + | end |
678 | - | o1698.BottomSurface = Enum.SurfaceType.Unjoinable |
678 | + | end |
679 | - | o1698.TopSurface = Enum.SurfaceType.Unjoinable |
679 | + | end |
680 | - | o1698.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
680 | + | |
681 | - | o1698.Position = Vector3.new(-80488.4453, 26714.8477, 109.599678) |
681 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
682 | - | o1699.Name = "Cylinder" |
682 | + | local xs, ys, zs = x + x, y + y, z + z |
683 | - | o1699.Parent = o1652 |
683 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
684 | - | o1699.Material = Enum.Material.SmoothPlastic |
684 | + | local xx = x*xs |
685 | - | o1699.BrickColor = BrickColor.new("Really black") |
685 | + | local xy = x*ys |
686 | - | o1699.Transparency = 0.80000001192093 |
686 | + | local xz = x*zs |
687 | - | o1699.Position = Vector3.new(-80488.4453, 26712.957, 109.599678) |
687 | + | local yy = y*ys |
688 | - | o1699.Rotation = Vector3.new(0, 4.23999977, -90) |
688 | + | local yz = y*zs |
689 | - | o1699.Anchored = true |
689 | + | local zz = z*zs |
690 | - | o1699.CanCollide = false |
690 | + | 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)) |
691 | - | o1699.Shape = Enum.PartType.Cylinder |
691 | + | end |
692 | - | o1699.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
692 | + | |
693 | - | o1699.CFrame = CFrame.new(-80488.4453, 26712.957, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
693 | + | function QuaternionSlerp(a, b, t) |
694 | - | o1699.BottomSurface = Enum.SurfaceType.Unjoinable |
694 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
695 | - | o1699.TopSurface = Enum.SurfaceType.Unjoinable |
695 | + | local startInterp, finishInterp; |
696 | - | o1699.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
696 | + | if cosTheta >= 0.0001 then |
697 | - | o1699.Position = Vector3.new(-80488.4453, 26712.957, 109.599678) |
697 | + | if (1 - cosTheta) > 0.0001 then |
698 | - | o1700.Name = "Cylinder" |
698 | + | local theta = math.acos(cosTheta) |
699 | - | o1700.Parent = o1652 |
699 | + | local invSinTheta = 1/math.sin(theta) |
700 | - | o1700.Material = Enum.Material.SmoothPlastic |
700 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
701 | - | o1700.BrickColor = BrickColor.new("Really black") |
701 | + | finishInterp = math.sin(t*theta)*invSinTheta |
702 | - | o1700.Transparency = 0.80000001192093 |
702 | + | else |
703 | - | o1700.Position = Vector3.new(-80488.4453, 26716.625, 109.599678) |
703 | + | startInterp = 1-t |
704 | - | o1700.Rotation = Vector3.new(0, 4.23999977, -90) |
704 | + | finishInterp = t |
705 | - | o1700.Anchored = true |
705 | + | end |
706 | - | o1700.CanCollide = false |
706 | + | else |
707 | - | o1700.Shape = Enum.PartType.Cylinder |
707 | + | if (1+cosTheta) > 0.0001 then |
708 | - | o1700.Size = Vector3.new(4.0264101, 11.8461294, 11.8461294) |
708 | + | local theta = math.acos(-cosTheta) |
709 | - | o1700.CFrame = CFrame.new(-80488.4453, 26716.625, 109.599678, 0, 0.997262657, 0.0739399716, -1, 0, 0, 0, -0.0739399716, 0.997262657) |
709 | + | local invSinTheta = 1/math.sin(theta) |
710 | - | o1700.BottomSurface = Enum.SurfaceType.Unjoinable |
710 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
711 | - | o1700.TopSurface = Enum.SurfaceType.Unjoinable |
711 | + | finishInterp = math.sin(t*theta)*invSinTheta |
712 | - | o1700.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
712 | + | else |
713 | - | o1700.Position = Vector3.new(-80488.4453, 26716.625, 109.599678) |
713 | + | startInterp = t-1 |
714 | - | o1701.Name = "Fog" |
714 | + | finishInterp = t |
715 | - | o1701.Parent = o1 |
715 | + | end |
716 | - | o1702.Name = "Cylinder" |
716 | + | end |
717 | - | o1702.Parent = o1701 |
717 | + | 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 |
718 | - | o1702.Material = Enum.Material.SmoothPlastic |
718 | + | end |
719 | - | o1702.BrickColor = BrickColor.new("Really black") |
719 | + | |
720 | - | o1702.Transparency = 0.80000001192093 |
720 | + | function clerp(a, b, t) |
721 | - | o1702.Position = Vector3.new(-80902.0703, 26662.1953, -16.9701309) |
721 | + | local qa = {QuaternionFromCFrame(a)} |
722 | - | o1702.Rotation = Vector3.new(0, 14.2399998, -90) |
722 | + | local qb = {QuaternionFromCFrame(b)} |
723 | - | o1702.Anchored = true |
723 | + | local ax, ay, az = a.x, a.y, a.z |
724 | - | o1702.CanCollide = false |
724 | + | local bx, by, bz = b.x, b.y, b.z |
725 | - | o1702.Shape = Enum.PartType.Cylinder |
725 | + | local _t = 1-t |
726 | - | o1702.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
726 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
727 | - | o1702.CFrame = CFrame.new(-80902.0703, 26662.1953, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
727 | + | end |
728 | - | o1702.BottomSurface = Enum.SurfaceType.Unjoinable |
728 | + | |
729 | - | o1702.TopSurface = Enum.SurfaceType.Unjoinable |
729 | + | swait() |
730 | - | o1702.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
730 | + | LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0) |
731 | - | o1702.Position = Vector3.new(-80902.0703, 26662.1953, -16.9701309) |
731 | + | Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) |
732 | - | o1703.Name = "Cylinder" |
732 | + | RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0) |
733 | - | o1703.Parent = o1701 |
733 | + | Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) |
734 | - | o1703.Material = Enum.Material.SmoothPlastic |
734 | + | LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0) |
735 | - | o1703.BrickColor = BrickColor.new("Really black") |
735 | + | Left_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15) |
736 | - | o1703.Transparency = 0.80000001192093 |
736 | + | RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0) |
737 | - | o1703.Position = Vector3.new(-80902.0703, 26657.8262, -16.9701309) |
737 | + | Right_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15) |
738 | - | o1703.Rotation = Vector3.new(0, 14.2399998, -90) |
738 | + | Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0) |
739 | - | o1703.Anchored = true |
739 | + | Torso.Weld.C1 = CFrame.new(0, -1, 0) |
740 | - | o1703.CanCollide = false |
740 | + | Head_Weld = newWeld(Torso, Head, 0, 1.5, 0) |
741 | - | o1703.Shape = Enum.PartType.Cylinder |
741 | + | |
742 | - | o1703.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
742 | + | for i,v in pairs(Character:GetChildren()) do |
743 | - | o1703.CFrame = CFrame.new(-80902.0703, 26657.8262, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
743 | + | if v:IsA('Accoutrement') or v:IsA('Shirt') or v:IsA('Pants') then |
744 | - | o1703.BottomSurface = Enum.SurfaceType.Unjoinable |
744 | + | v:Destroy() |
745 | - | o1703.TopSurface = Enum.SurfaceType.Unjoinable |
745 | + | end |
746 | - | o1703.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
746 | + | end |
747 | - | o1703.Position = Vector3.new(-80902.0703, 26657.8262, -16.9701309) |
747 | + | |
748 | - | o1704.Name = "Cylinder" |
748 | + | Head.face.Texture = "rbxassetid://141728515" |
749 | - | o1704.Parent = o1701 |
749 | + | Head.face.Color3 = Color3.new(0,0,0) |
750 | - | o1704.Material = Enum.Material.SmoothPlastic |
750 | + | |
751 | - | o1704.BrickColor = BrickColor.new("Really black") |
751 | + | shirt = Instance.new("Shirt",Character) |
752 | - | o1704.Transparency = 0.80000001192093 |
752 | + | pants = Instance.new("Pants",Character) |
753 | - | o1704.Position = Vector3.new(-80902.0703, 26660.8555, -16.9701309) |
753 | + | wait() |
754 | - | o1704.Rotation = Vector3.new(0, 14.2399998, -90) |
754 | + | shirt.ShirtTemplate = "rbxassetid://120471954" |
755 | - | o1704.Anchored = true |
755 | + | pants.PantsTemplate = "rbxassetid://120471978" |
756 | - | o1704.CanCollide = false |
756 | + | |
757 | - | o1704.Shape = Enum.PartType.Cylinder |
757 | + | Character['Body Colors'].HeadColor=BrickColor.new('Linen') |
758 | - | o1704.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
758 | + | Character['Body Colors'].TorsoColor=BrickColor.new('Linen') |
759 | - | o1704.CFrame = CFrame.new(-80902.0703, 26660.8555, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
759 | + | Character['Body Colors'].RightArmColor=BrickColor.new('Linen') |
760 | - | o1704.BottomSurface = Enum.SurfaceType.Unjoinable |
760 | + | Character['Body Colors'].LeftArmColor=BrickColor.new('Linen') |
761 | - | o1704.TopSurface = Enum.SurfaceType.Unjoinable |
761 | + | Character['Body Colors'].RightLegColor=BrickColor.new('Linen') |
762 | - | o1704.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
762 | + | Character['Body Colors'].LeftLegColor=BrickColor.new('Linen') |
763 | - | o1704.Position = Vector3.new(-80902.0703, 26660.8555, -16.9701309) |
763 | + | |
764 | - | o1705.Name = "Cylinder" |
764 | + | Humanoid.DisplayDistanceType='None' |
765 | - | o1705.Parent = o1701 |
765 | + | |
766 | - | o1705.Material = Enum.Material.SmoothPlastic |
766 | + | sine = 0 |
767 | - | o1705.BrickColor = BrickColor.new("Really black") |
767 | + | change = 1 |
768 | - | o1705.Transparency = 0.80000001192093 |
768 | + | sprint=false |
769 | - | o1705.Position = Vector3.new(-80902.0703, 26659.4316, -16.9701309) |
769 | + | local punches={ |
770 | - | o1705.Rotation = Vector3.new(0, 14.2399998, -90) |
770 | + | a=false, |
771 | - | o1705.Anchored = true |
771 | + | b=false, |
772 | - | o1705.CanCollide = false |
772 | + | c=false |
773 | - | o1705.Shape = Enum.PartType.Cylinder |
773 | + | } |
774 | - | o1705.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
774 | + | |
775 | - | o1705.CFrame = CFrame.new(-80902.0703, 26659.4316, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
775 | + | UIService.InputBegan:connect(function(Input,GUIProcessed) |
776 | - | o1705.BottomSurface = Enum.SurfaceType.Unjoinable |
776 | + | if not GUIProcessed and Input.UserInputType==Enum.UserInputType.MouseButton1 then |
777 | - | o1705.TopSurface = Enum.SurfaceType.Unjoinable |
777 | + | if punches.a==false then |
778 | - | o1705.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
778 | + | punches.a=true wait(.4) punches.a=false |
779 | - | o1705.Position = Vector3.new(-80902.0703, 26659.4316, -16.9701309) |
779 | + | else |
780 | - | o1706.Name = "Cylinder" |
780 | + | punches.a=true |
781 | - | o1706.Parent = o1701 |
781 | + | print('a ',punches.a) |
782 | - | o1706.Material = Enum.Material.SmoothPlastic |
782 | + | if punches.b==false then |
783 | - | o1706.BrickColor = BrickColor.new("Really black") |
783 | + | punches.b=true wait(.4) punches.b=false |
784 | - | o1706.Transparency = 0.80000001192093 |
784 | + | else |
785 | - | o1706.Position = Vector3.new(-80902.0703, 26663.7773, -16.9701309) |
785 | + | punches.b=true |
786 | - | o1706.Rotation = Vector3.new(0, 14.2399998, -90) |
786 | + | print('b ',punches.b) |
787 | - | o1706.Anchored = true |
787 | + | if punches.c==false then |
788 | - | o1706.CanCollide = false |
788 | + | punches.c=true wait(.4) punches.c=false |
789 | - | o1706.Shape = Enum.PartType.Cylinder |
789 | + | else |
790 | - | o1706.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
790 | + | punches.c=true |
791 | - | o1706.CFrame = CFrame.new(-80902.0703, 26663.7773, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
791 | + | print('c ',punches.c) |
792 | - | o1706.BottomSurface = Enum.SurfaceType.Unjoinable |
792 | + | print('a ',punches.a,'b ',punches.b,'c ',punches.c) |
793 | - | o1706.TopSurface = Enum.SurfaceType.Unjoinable |
793 | + | end |
794 | - | o1706.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
794 | + | end |
795 | - | o1706.Position = Vector3.new(-80902.0703, 26663.7773, -16.9701309) |
795 | + | end |
796 | - | o1707.Name = "Cylinder" |
796 | + | elseif not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift and transform == true then |
797 | - | o1707.Parent = o1701 |
797 | + | sprint=true |
798 | - | o1707.Material = Enum.Material.SmoothPlastic |
798 | + | end |
799 | - | o1707.BrickColor = BrickColor.new("Really black") |
799 | + | end) |
800 | - | o1707.Transparency = 0.80000001192093 |
800 | + | |
801 | - | o1707.Position = Vector3.new(-80902.0703, 26660.1641, -16.9701309) |
801 | + | UIService.InputEnded:connect(function(Input,GUIProcessed) |
802 | - | o1707.Rotation = Vector3.new(0, 14.2399998, -90) |
802 | + | if not GUIProcessed and Input.KeyCode==Enum.KeyCode.LeftShift then |
803 | - | o1707.Anchored = true |
803 | + | sprint=false |
804 | - | o1707.CanCollide = false |
804 | + | end |
805 | - | o1707.Shape = Enum.PartType.Cylinder |
805 | + | end) |
806 | - | o1707.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
806 | + | |
807 | - | o1707.CFrame = CFrame.new(-80902.0703, 26660.1641, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
807 | + | Humanoid.Died:connect(function() |
808 | - | o1707.BottomSurface = Enum.SurfaceType.Unjoinable |
808 | + | q.Enabled = true |
809 | - | o1707.TopSurface = Enum.SurfaceType.Unjoinable |
809 | + | S = Instance.new("Sound") |
810 | - | o1707.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
810 | + | S.Parent = Character.Torso |
811 | - | o1707.Position = Vector3.new(-80902.0703, 26660.1641, -16.9701309) |
811 | + | S.SoundId = "rbxassetid://891043624" |
812 | - | o1708.Name = "Cylinder" |
812 | + | S.Volume = 10 |
813 | - | o1708.Parent = o1701 |
813 | + | S.Looped = false |
814 | - | o1708.Material = Enum.Material.SmoothPlastic |
814 | + | S.Pitch = 1 |
815 | - | o1708.BrickColor = BrickColor.new("Really black") |
815 | + | S:Play() |
816 | - | o1708.Transparency = 0.80000001192093 |
816 | + | S = Instance.new("Sound") |
817 | - | o1708.Position = Vector3.new(-80902.0703, 26667.4531, -16.9701309) |
817 | + | S.Parent = Character.Torso |
818 | - | o1708.Rotation = Vector3.new(0, 14.2399998, -90) |
818 | + | S.SoundId = "rbxassetid://429400881" |
819 | - | o1708.Anchored = true |
819 | + | S.Volume = 5 |
820 | - | o1708.CanCollide = false |
820 | + | S.Looped = false |
821 | - | o1708.Shape = Enum.PartType.Cylinder |
821 | + | S.Pitch = 1 |
822 | - | o1708.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
822 | + | S:Play() |
823 | - | o1708.CFrame = CFrame.new(-80902.0703, 26667.4531, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
823 | + | end) |
824 | - | o1708.BottomSurface = Enum.SurfaceType.Unjoinable |
824 | + | |
825 | - | o1708.TopSurface = Enum.SurfaceType.Unjoinable |
825 | + | game:GetService("RunService").RenderStepped:connect(function() |
826 | - | o1708.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
826 | + | Angle = (Angle % 100) + angleSpeed/10 |
827 | - | o1708.Position = Vector3.new(-80902.0703, 26667.4531, -16.9701309) |
827 | + | Axis = (Axis % 100) + axisSpeed/10 |
828 | - | o1709.Name = "Cylinder" |
828 | + | walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude |
829 | - | o1709.Parent = o1701 |
829 | + | jumpVel = Torso.Velocity.Y |
830 | - | o1709.Material = Enum.Material.SmoothPlastic |
830 | + | sine = change + sine |
831 | - | o1709.BrickColor = BrickColor.new("Really black") |
831 | + | |
832 | - | o1709.Transparency = 0.80000001192093 |
832 | + | if(Humanoid.Jump) and jumpVel > 1 then |
833 | - | o1709.Position = Vector3.new(-80902.0703, 26661.502, -16.9701309) |
833 | + | currentAnim = "Jumping" |
834 | - | o1709.Rotation = Vector3.new(0, 14.2399998, -90) |
834 | + | elseif walkingMagnitude < 2 then |
835 | - | o1709.Anchored = true |
835 | + | currentAnim = "Idling" |
836 | - | o1709.CanCollide = false |
836 | + | elseif isSprinting == true then |
837 | - | o1709.Shape = Enum.PartType.Cylinder |
837 | + | currentAnim = "Sprinting" |
838 | - | o1709.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
838 | + | elseif walkingMagnitude > 2 then |
839 | - | o1709.CFrame = CFrame.new(-80902.0703, 26661.502, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
839 | + | currentAnim = "Walking" |
840 | - | o1709.BottomSurface = Enum.SurfaceType.Unjoinable |
840 | + | elseif isAttacking == true then |
841 | - | o1709.TopSurface = Enum.SurfaceType.Unjoinable |
841 | + | currentAnim = "Attacking" |
842 | - | o1709.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
842 | + | end |
843 | - | o1709.Position = Vector3.new(-80902.0703, 26661.502, -16.9701309) |
843 | + | |
844 | - | o1710.Name = "Cylinder" |
844 | + | if currentAnim == "Jumping" and Animations == false then |
845 | - | o1710.Parent = o1701 |
845 | + | angleSpeed = 2 |
846 | - | o1710.Material = Enum.Material.SmoothPlastic |
846 | + | axisSpeed = 2 |
847 | - | o1710.BrickColor = BrickColor.new("Really black") |
847 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) |
848 | - | o1710.Transparency = 0.80000001192093 |
848 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) |
849 | - | o1710.Position = Vector3.new(-80902.0703, 26666.1152, -16.9701309) |
849 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) |
850 | - | o1710.Rotation = Vector3.new(0, 14.2399998, -90) |
850 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) |
851 | - | o1710.Anchored = true |
851 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) |
852 | - | o1710.CanCollide = false |
852 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) |
853 | - | o1710.Shape = Enum.PartType.Cylinder |
853 | + | elseif currentAnim == "Idling" and Animations == false then |
854 | - | o1710.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
854 | + | if coughing == false and talking == false then |
855 | - | o1710.CFrame = CFrame.new(-80902.0703, 26666.1152, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
855 | + | angleSpeed = 1 |
856 | - | o1710.BottomSurface = Enum.SurfaceType.Unjoinable |
856 | + | axisSpeed = 1 |
857 | - | o1710.TopSurface = Enum.SurfaceType.Unjoinable |
857 | + | change = 0.5 |
858 | - | o1710.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
858 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), -math.sin((rootPart.RotVelocity.X/10))/-2, math.sin((-rootPart.RotVelocity.Y/10))/-2), 0.15) |
859 | - | o1710.Position = Vector3.new(-80902.0703, 26666.1152, -16.9701309) |
859 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.X/10))/2, -math.sin((-rootPart.RotVelocity.Y/10))/2), 0.15) |
860 | - | o1711.Name = "Cylinder" |
860 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), -math.sin((rootPart.RotVelocity.X/10))/-2, math.sin((-rootPart.RotVelocity.Y/10))/-2), 0.15) |
861 | - | o1711.Parent = o1701 |
861 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.X/10))/2, -math.sin((-rootPart.RotVelocity.Y/10))/2), 0.15) |
862 | - | o1711.Material = Enum.Material.SmoothPlastic |
862 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
863 | - | o1711.BrickColor = BrickColor.new("Really black") |
863 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(0)), 0.15) |
864 | - | o1711.Transparency = 0.80000001192093 |
864 | + | elseif coughing == true then |
865 | - | o1711.Position = Vector3.new(-80902.0703, 26663.0859, -16.9701309) |
865 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, -0.1) * c_angles(math.rad(150), -math.sin((rootPart.RotVelocity.X/10))/-2, math.rad(-55)), 0.15) |
866 | - | o1711.Rotation = Vector3.new(0, 14.2399998, -90) |
866 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, -0.1) * c_angles(math.rad(150), math.sin((rootPart.RotVelocity.X/10))/2, math.rad(55)), 0.15) |
867 | - | o1711.Anchored = true |
867 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), -math.sin((rootPart.RotVelocity.X/10))/-2, math.sin((-rootPart.RotVelocity.Y/10))/-2), 0.15) |
868 | - | o1711.CanCollide = false |
868 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.X/10))/2, -math.sin((-rootPart.RotVelocity.Y/10))/2), 0.15) |
869 | - | o1711.Shape = Enum.PartType.Cylinder |
869 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
870 | - | o1711.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
870 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.4, 0.5) * c_angles(math.rad(45), math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(0)), 0.15) |
871 | - | o1711.CFrame = CFrame.new(-80902.0703, 26663.0859, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
871 | + | elseif talking == true and coughing == false then |
872 | - | o1711.BottomSurface = Enum.SurfaceType.Unjoinable |
872 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), -math.sin((rootPart.RotVelocity.X/10))/-2, math.sin((-rootPart.RotVelocity.Y/10))/-2), 0.15) |
873 | - | o1711.TopSurface = Enum.SurfaceType.Unjoinable |
873 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.X/10))/2, -math.sin((-rootPart.RotVelocity.Y/10))/2), 0.15) |
874 | - | o1711.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
874 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), -math.sin((rootPart.RotVelocity.X/10))/-2, math.sin((-rootPart.RotVelocity.Y/10))/-2), 0.15) |
875 | - | o1711.Position = Vector3.new(-80902.0703, 26663.0859, -16.9701309) |
875 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.X/10))/2, -math.sin((-rootPart.RotVelocity.Y/10))/2), 0.15) |
876 | - | o1712.Name = "Cylinder" |
876 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
877 | - | o1712.Parent = o1701 |
877 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(-math.sin(sine/1.5)/20, math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(0)), 0.15) |
878 | - | o1712.Material = Enum.Material.SmoothPlastic |
878 | + | end |
879 | - | o1712.BrickColor = BrickColor.new("Really black") |
879 | + | elseif currentAnim == "Walking" and Animations == false then |
880 | - | o1712.Transparency = 0.80000001192093 |
880 | + | if sprint==false then |
881 | - | o1712.Position = Vector3.new(-80902.0703, 26657.1348, -16.9701309) |
881 | + | if coughing == false and talking == false then |
882 | - | o1712.Rotation = Vector3.new(0, 14.2399998, -90) |
882 | + | angleSpeed = 1 |
883 | - | o1712.Anchored = true |
883 | + | axisSpeed = 1 |
884 | - | o1712.CanCollide = false |
884 | + | Humanoid.WalkSpeed = 10 |
885 | - | o1712.Shape = Enum.PartType.Cylinder |
885 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(-math.sin(sine/4)/8, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5)), 0.15) |
886 | - | o1712.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
886 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.sin(sine/4)/8, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5)), 0.15) |
887 | - | o1712.CFrame = CFrame.new(-80902.0703, 26657.1348, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
887 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine/4)/3, math.sin((rootPart.RotVelocity.Y/10))/2, -math.sin((rootPart.RotVelocity.Y/10))/2), 0.15) |
888 | - | o1712.BottomSurface = Enum.SurfaceType.Unjoinable |
888 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine/4)/3, -math.sin((rootPart.RotVelocity.Y/10))/2, math.sin((-rootPart.RotVelocity.Y/10))/2), 0.15) |
889 | - | o1712.TopSurface = Enum.SurfaceType.Unjoinable |
889 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
890 | - | o1712.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
890 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(0)), 0.15) |
891 | - | o1712.Position = Vector3.new(-80902.0703, 26657.1348, -16.9701309) |
891 | + | elseif coughing == true then |
892 | - | o1713.Name = "Cylinder" |
892 | + | Humanoid.WalkSpeed = 3 |
893 | - | o1713.Parent = o1701 |
893 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.6, -0.1) * c_angles(math.rad(90), -math.sin((rootPart.RotVelocity.X/10))/-2, math.rad(-60)), 0.15) |
894 | - | o1713.Material = Enum.Material.SmoothPlastic |
894 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.6, -0.1) * c_angles(math.rad(90), math.sin((rootPart.RotVelocity.X/10))/2, math.rad(60)), 0.15) |
895 | - | o1713.BrickColor = BrickColor.new("Really black") |
895 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine/4)/3, math.sin((rootPart.RotVelocity.Y/10))/2, -math.sin((rootPart.RotVelocity.Y/10))/2), 0.05) |
896 | - | o1713.Transparency = 0.80000001192093 |
896 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine/4)/3, -math.sin((rootPart.RotVelocity.Y/10))/2, math.sin((-rootPart.RotVelocity.Y/10))/2), 0.05) |
897 | - | o1713.Position = Vector3.new(-80902.0703, 26658.7402, -16.9701309) |
897 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
898 | - | o1713.Rotation = Vector3.new(0, 14.2399998, -90) |
898 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.4, -0.5) * c_angles(math.rad(-45), math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(0)), 0.15) |
899 | - | o1713.Anchored = true |
899 | + | elseif coughing == false and talking == true then |
900 | - | o1713.CanCollide = false |
900 | + | Humanoid.WalkSpeed = 10 |
901 | - | o1713.Shape = Enum.PartType.Cylinder |
901 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(-math.sin(sine/4)/8, -math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(5)), 0.15) |
902 | - | o1713.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
902 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.sin(sine/4)/8, math.sin((rootPart.RotVelocity.Y/10))/2,math.rad(-5)), 0.15) |
903 | - | o1713.CFrame = CFrame.new(-80902.0703, 26658.7402, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
903 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine/4)/3, math.sin((rootPart.RotVelocity.Y/10))/2, -math.sin((rootPart.RotVelocity.Y/10))/2), 0.15) |
904 | - | o1713.BottomSurface = Enum.SurfaceType.Unjoinable |
904 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine/4)/3, -math.sin((rootPart.RotVelocity.Y/10))/2, math.sin((-rootPart.RotVelocity.Y/10))/2), 0.15) |
905 | - | o1713.TopSurface = Enum.SurfaceType.Unjoinable |
905 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
906 | - | o1713.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
906 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(-math.sin(sine/1.5)/20, math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(0)), 0.15) |
907 | - | o1713.Position = Vector3.new(-80902.0703, 26658.7402, -16.9701309) |
907 | + | end |
908 | - | o1714.Name = "Cylinder" |
908 | + | else |
909 | - | o1714.Parent = o1701 |
909 | + | if coughing == false and talking == false then |
910 | - | o1714.Material = Enum.Material.SmoothPlastic |
910 | + | angleSpeed = 10 |
911 | - | o1714.BrickColor = BrickColor.new("Really black") |
911 | + | axisSpeed = 10 |
912 | - | o1714.Transparency = 0.80000001192093 |
912 | + | Humanoid.WalkSpeed = 20 |
913 | - | o1714.Position = Vector3.new(-80902.0703, 26664.6914, -16.9701309) |
913 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.55, -0.2) * c_angles(math.rad(90),-math.sin((rootPart.RotVelocity.X/80))/-2, math.sin((rootPart.RotVelocity.Y/2.5))/-2), 0.15) |
914 | - | o1714.Rotation = Vector3.new(0, 14.2399998, -90) |
914 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) |
915 | - | o1714.Anchored = true |
915 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine/4)/2, math.sin((rootPart.RotVelocity.Y/10))/1, -math.sin((rootPart.RotVelocity.Y/10))/1), 0.4) |
916 | - | o1714.CanCollide = false |
916 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine/4)/2, -math.sin((rootPart.RotVelocity.Y/10))/1, math.sin((-rootPart.RotVelocity.Y/10))/1), 0.4) |
917 | - | o1714.Shape = Enum.PartType.Cylinder |
917 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
918 | - | o1714.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
918 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(-0.1, 1.5, 0) * c_angles(math.rad(0), math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(10)), 0.15) |
919 | - | o1714.CFrame = CFrame.new(-80902.0703, 26664.6914, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
919 | + | elseif coughing == true then |
920 | - | o1714.BottomSurface = Enum.SurfaceType.Unjoinable |
920 | + | Humanoid.WalkSpeed = 8 |
921 | - | o1714.TopSurface = Enum.SurfaceType.Unjoinable |
921 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.55, 0) * c_angles(math.rad(-10), -math.sin((rootPart.RotVelocity.X/80))/2, math.sin((rootPart.RotVelocity.Y/2.5))/2), 0.15) |
922 | - | o1714.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
922 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.9, -0.1) * c_angles(math.rad(100), math.rad(50), math.rad(50)), 0.15) |
923 | - | o1714.Position = Vector3.new(-80902.0703, 26664.6914, -16.9701309) |
923 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine/4)/2, math.sin((rootPart.RotVelocity.Y/10))/1, -math.sin((rootPart.RotVelocity.Y/10))/1), 0.1) |
924 | - | o1715.Name = "Cylinder" |
924 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine/4)/2, -math.sin((rootPart.RotVelocity.Y/10))/1, math.sin((-rootPart.RotVelocity.Y/10))/1), 0.1) |
925 | - | o1715.Parent = o1701 |
925 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
926 | - | o1715.Material = Enum.Material.SmoothPlastic |
926 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(-0.1, 1.5, -0.2) * c_angles(math.rad(-30), math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(10)), 0.15) |
927 | - | o1715.BrickColor = BrickColor.new("Really black") |
927 | + | elseif coughing == false and talking == true then |
928 | - | o1715.Transparency = 0.80000001192093 |
928 | + | Humanoid.WalkSpeed = 20 |
929 | - | o1715.Position = Vector3.new(-80902.0703, 26666.8086, -16.9701309) |
929 | + | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.55, -0.2) * c_angles(math.rad(90),-math.sin((rootPart.RotVelocity.X/80))/-2, math.sin((rootPart.RotVelocity.Y/2.5))/-2), 0.15) |
930 | - | o1715.Rotation = Vector3.new(0, 14.2399998, -90) |
930 | + | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15) |
931 | - | o1715.Anchored = true |
931 | + | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine/4)/2, math.sin((rootPart.RotVelocity.Y/10))/1, -math.sin((rootPart.RotVelocity.Y/10))/1), 0.4) |
932 | - | o1715.CanCollide = false |
932 | + | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine/4)/2, -math.sin((rootPart.RotVelocity.Y/10))/1, math.sin((-rootPart.RotVelocity.Y/10))/1), 0.4) |
933 | - | o1715.Shape = Enum.PartType.Cylinder |
933 | + | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.sin((rootPart.RotVelocity.Y/30))/2), 0.15) |
934 | - | o1715.Size = Vector3.new(3.0327003, 8.92252922, 8.92252922) |
934 | + | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(-0.1, 1.5, 0) * c_angles(-math.sin(sine/1.5)/20, math.sin((rootPart.RotVelocity.Y/2.5))/2, math.rad(10)), 0.15) |
935 | - | o1715.CFrame = CFrame.new(-80902.0703, 26666.8086, -16.9701309, 0, 0.969272375, 0.245989844, -1, 0, 0, 0, -0.245989844, 0.969272375) |
935 | + | end |
936 | - | o1715.BottomSurface = Enum.SurfaceType.Unjoinable |
936 | + | end |
937 | - | o1715.TopSurface = Enum.SurfaceType.Unjoinable |
937 | + | end |
938 | - | o1715.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
938 | + | end) |