SHOW:
|
|
- or go back to the newest paste.
1 | - | -- Gui to Lua |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | - | -- Version: 3.2 |
2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
3 | do | |
4 | - | -- Instances: |
4 | + | print("FE Compatibility code by Mokiros") |
5 | script.Parent = Player.Character | |
6 | - | local GUI = Instance.new("ScreenGui") |
6 | + | |
7 | - | local OpenFrame = Instance.new("Frame") |
7 | + | --RemoteEvent for communicating |
8 | - | local OpenButton = Instance.new("TextButton") |
8 | + | local Event = Instance.new("RemoteEvent") |
9 | - | local OpenBeautyFrame = Instance.new("Frame") |
9 | + | Event.Name = "UserInput_Event" |
10 | - | local MainFrame = Instance.new("Frame") |
10 | + | |
11 | - | local MainFrameBeautyA = Instance.new("Frame") |
11 | + | --Fake event to make stuff like Mouse.KeyDown work |
12 | - | local CloseButton = Instance.new("TextButton") |
12 | + | local function fakeEvent() |
13 | - | local EXPLOIT1 = Instance.new("TextButton") |
13 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
14 | - | local MainFrameCenterBeautyA = Instance.new("Frame") |
14 | + | t.connect = t.Connect |
15 | - | local MainFrameCenterBeautyA_2 = Instance.new("Frame") |
15 | + | return t |
16 | - | local EXPLOIT5 = Instance.new("TextButton") |
16 | + | |
17 | - | local EXPLOIT9 = Instance.new("TextButton") |
17 | + | |
18 | - | local EXPLOIT6 = Instance.new("TextButton") |
18 | + | --Creating fake input objects with fake variables |
19 | - | local EXPLOIT7 = Instance.new("TextButton") |
19 | + | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
20 | - | local EXPLOIT8 = Instance.new("TextButton") |
20 | + | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
21 | - | local EXPLOIT10 = Instance.new("TextButton") |
21 | + | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
22 | - | local EXPLOIT11 = Instance.new("TextButton") |
22 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
23 | - | local EXPLOIT12 = Instance.new("TextButton") |
23 | + | end} |
24 | - | local EXPLOIT2 = Instance.new("TextButton") |
24 | + | --Merged 2 functions into one by checking amount of arguments |
25 | - | local EXPLOIT3 = Instance.new("TextButton") |
25 | + | CAS.UnbindAction = CAS.BindAction |
26 | - | local EXPLOIT4 = Instance.new("TextButton") |
26 | + | |
27 | - | local MainFrameBeautyB = Instance.new("Frame") |
27 | + | --This function will trigger the events that have been :Connect()'ed |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | - | --Properties: |
30 | + | if t and t._fakeEvent and t.Function then |
31 | t.Function(...) | |
32 | - | GUI.Name = "GUI" |
32 | + | |
33 | - | GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") |
33 | + | |
34 | m.TrigEvent = te | |
35 | - | OpenFrame.Name = "OpenFrame" |
35 | + | UIS.TrigEvent = te |
36 | - | OpenFrame.Parent = GUI |
36 | + | |
37 | - | OpenFrame.Active = true |
37 | + | Event.OnServerEvent:Connect(function(plr,io) |
38 | - | OpenFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 0) |
38 | + | if plr~=Player then return end |
39 | - | OpenFrame.BorderSizePixel = 0 |
39 | + | if io.isMouse then |
40 | - | OpenFrame.Position = UDim2.new(0, 0, 0.629155695, 0) |
40 | + | m.Target = io.Target |
41 | - | OpenFrame.Size = UDim2.new(0, 72, 0, 27) |
41 | + | m.Hit = io.Hit |
42 | else | |
43 | - | OpenButton.Name = "OpenButton" |
43 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
44 | - | OpenButton.Parent = OpenFrame |
44 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
45 | - | OpenButton.BackgroundColor3 = Color3.fromRGB(170, 170, 127) |
45 | + | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
46 | - | OpenButton.BackgroundTransparency = 1.000 |
46 | + | |
47 | - | OpenButton.BorderSizePixel = 0 |
47 | + | for _,t in pairs(CAS.Actions) do |
48 | - | OpenButton.Position = UDim2.new(0.0305736773, 0, 0.116329789, 0) |
48 | + | for _,k in pairs(t.Keys) do |
49 | - | OpenButton.Size = UDim2.new(0, 66, 0, 20) |
49 | + | if k==io.KeyCode then |
50 | - | OpenButton.Font = Enum.Font.Cartoon |
50 | + | t.Function(t.Name,io.UserInputState,io) |
51 | - | OpenButton.Text = "Open" |
51 | + | |
52 | - | OpenButton.TextColor3 = Color3.fromRGB(255, 255, 255) |
52 | + | |
53 | - | OpenButton.TextScaled = true |
53 | + | |
54 | - | OpenButton.TextSize = 14.000 |
54 | + | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
55 | - | OpenButton.TextWrapped = true |
55 | + | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
56 | - | OpenButton.MouseButton1Down:connect(function() |
56 | + | |
57 | - | MainFrame.Visible = true |
57 | + | |
58 | - | OpenFrame.Visible = false |
58 | + | Event.Parent = NLS([==[ |
59 | - | MainFrameBeautyA.Visible = true |
59 | + | local Player = owner |
60 | - | MainFrameBeautyB.Visible = true |
60 | + | local Event = script:WaitForChild("UserInput_Event") |
61 | - | MainFrameCenterBeautyA_2.Visible = true |
61 | + | |
62 | - | MainFrameCenterBeautyA.Visible = true |
62 | + | local UIS = game:GetService("UserInputService") |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | - | OpenBeautyFrame.Name = "OpenBeautyFrame" |
65 | + | --Since InputObject is a client-side instance, we create and pass table instead |
66 | - | OpenBeautyFrame.Parent = OpenFrame |
66 | + | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) |
67 | - | OpenBeautyFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
67 | + | |
68 | - | OpenBeautyFrame.BorderSizePixel = 0 |
68 | + | UIS.InputBegan:Connect(input) |
69 | - | OpenBeautyFrame.Position = UDim2.new(0.988907099, 0, -0.148148149, 0) |
69 | + | UIS.InputEnded:Connect(input) |
70 | - | OpenBeautyFrame.Size = UDim2.new(0, 3, 0, 33) |
70 | + | |
71 | local Mouse = Player:GetMouse() | |
72 | - | MainFrame.Name = "MainFrame" |
72 | + | local h,t |
73 | - | MainFrame.Parent = GUI |
73 | + | --Give the server mouse data 30 times every second, but only if the values changed |
74 | - | MainFrame.Active = true |
74 | + | --If player is not moving their mouse, client won't fire events |
75 | - | MainFrame.BackgroundColor3 = Color3.fromRGB(49, 49, 49) |
75 | + | while wait(1/30) do |
76 | - | MainFrame.BorderSizePixel = 0 |
76 | + | if h~=Mouse.Hit or t~=Mouse.Target then |
77 | - | MainFrame.Position = UDim2.new(0.30754894, 0, 0.235294133, 0) |
77 | + | h,t=Mouse.Hit,Mouse.Target |
78 | - | MainFrame.Size = UDim2.new(0, 412, 0, 263) |
78 | + | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
79 | - | MainFrame.Visible = false |
79 | + | |
80 | - | MainFrame.Draggable = true |
80 | + | end]==],Player.Character) |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | - | MainFrameBeautyA.Name = "MainFrameBeautyA" |
82 | + | |
83 | - | MainFrameBeautyA.Parent = MainFrame |
83 | + | |
84 | - | MainFrameBeautyA.BackgroundColor3 = Color3.fromRGB(0, 255, 0) |
84 | + | plr = owner |
85 | - | MainFrameBeautyA.BorderSizePixel = 0 |
85 | + | |
86 | - | MainFrameBeautyA.Size = UDim2.new(0, 412, 0, 22) |
86 | + | |
87 | - | MainFrameBeautyA.Visible = false |
87 | + | |
88 | rl = char["Right Leg"] | |
89 | - | CloseButton.Name = "CloseButton" |
89 | + | |
90 | - | CloseButton.Parent = MainFrameBeautyA |
90 | + | |
91 | - | CloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
91 | + | |
92 | - | CloseButton.BackgroundTransparency = 1.000 |
92 | + | |
93 | - | CloseButton.BorderSizePixel = 0 |
93 | + | |
94 | - | CloseButton.Position = UDim2.new(0.905339777, 0, 0, 0) |
94 | + | |
95 | - | CloseButton.Size = UDim2.new(0, 39, 0, 22) |
95 | + | local Player = owner |
96 | - | CloseButton.Font = Enum.Font.Cartoon |
96 | + | |
97 | - | CloseButton.Text = "Close" |
97 | + | |
98 | - | CloseButton.TextColor3 = Color3.fromRGB(255, 0, 0) |
98 | + | |
99 | - | CloseButton.TextScaled = true |
99 | + | |
100 | - | CloseButton.TextSize = 14.000 |
100 | + | |
101 | - | CloseButton.TextWrapped = true |
101 | + | |
102 | - | CloseButton.MouseButton1Down:connect(function() |
102 | + | |
103 | - | OpenFrame.Visible = true |
103 | + | |
104 | - | MainFrame.Visible = false |
104 | + | |
105 | - | MainFrameBeautyA.Visible = false |
105 | + | |
106 | - | MainFrameBeautyB.Visible = false |
106 | + | |
107 | - | MainFrameCenterBeautyA_2.Visible = false |
107 | + | |
108 | - | MainFrameCenterBeautyA.Visible = false |
108 | + | |
109 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
110 | local attack = false | |
111 | - | EXPLOIT1.Name = "EXPLOIT1" |
111 | + | |
112 | - | EXPLOIT1.Parent = MainFrame |
112 | + | |
113 | - | EXPLOIT1.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
113 | + | |
114 | - | EXPLOIT1.BorderSizePixel = 0 |
114 | + | |
115 | - | EXPLOIT1.Position = UDim2.new(0.024271844, 0, 0.129277572, 0) |
115 | + | |
116 | - | EXPLOIT1.Size = UDim2.new(0, 92, 0, 32) |
116 | + | |
117 | - | EXPLOIT1.Font = Enum.Font.Cartoon |
117 | + | |
118 | - | EXPLOIT1.Text = "My Other GUI" |
118 | + | |
119 | - | EXPLOIT1.TextColor3 = Color3.fromRGB(255, 255, 255) |
119 | + | |
120 | - | EXPLOIT1.TextScaled = true |
120 | + | |
121 | - | EXPLOIT1.TextSize = 14.000 |
121 | + | |
122 | - | EXPLOIT1.TextWrapped = true |
122 | + | |
123 | - | EXPLOIT1.MouseButton1Down:connect(function() |
123 | + | |
124 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/HCsqYzwa'),true))() |
124 | + | |
125 | function chat(...) | |
126 | local txxt = {...} | |
127 | - | MainFrameCenterBeautyA.Name = "MainFrameCenterBeautyA" |
127 | + | |
128 | - | MainFrameCenterBeautyA.Parent = MainFrame |
128 | + | |
129 | - | MainFrameCenterBeautyA.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
129 | + | |
130 | - | MainFrameCenterBeautyA.BorderSizePixel = 0 |
130 | + | |
131 | - | MainFrameCenterBeautyA.Position = UDim2.new(0.288834959, 0, 0.129277572, 0) |
131 | + | |
132 | - | MainFrameCenterBeautyA.Size = UDim2.new(0, 8, 0, 185) |
132 | + | |
133 | - | MainFrameCenterBeautyA.Visible = false |
133 | + | |
134 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
135 | - | MainFrameCenterBeautyA_2.Name = "MainFrameCenterBeautyA" |
135 | + | |
136 | - | MainFrameCenterBeautyA_2.Parent = MainFrame |
136 | + | |
137 | - | MainFrameCenterBeautyA_2.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
137 | + | |
138 | - | MainFrameCenterBeautyA_2.BorderSizePixel = 0 |
138 | + | |
139 | - | MainFrameCenterBeautyA_2.Position = UDim2.new(0.699029148, 0, 0.129277557, 0) |
139 | + | |
140 | - | MainFrameCenterBeautyA_2.Size = UDim2.new(0, 8, 0, 185) |
140 | + | |
141 | - | MainFrameCenterBeautyA_2.Visible = false |
141 | + | |
142 | text.TextColor3 = Color3.new(0,255,0) | |
143 | - | EXPLOIT5.Name = "EXPLOIT5" |
143 | + | |
144 | - | EXPLOIT5.Parent = MainFrame |
144 | + | |
145 | - | EXPLOIT5.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
145 | + | |
146 | - | EXPLOIT5.BorderSizePixel = 0 |
146 | + | |
147 | - | EXPLOIT5.Position = UDim2.new(0.388349503, 0, 0.129277572, 0) |
147 | + | |
148 | - | EXPLOIT5.Size = UDim2.new(0, 92, 0, 32) |
148 | + | |
149 | - | EXPLOIT5.Font = Enum.Font.Cartoon |
149 | + | |
150 | - | EXPLOIT5.Text = "JailTabs" |
150 | + | |
151 | - | EXPLOIT5.TextColor3 = Color3.fromRGB(255, 255, 255) |
151 | + | |
152 | - | EXPLOIT5.TextScaled = true |
152 | + | |
153 | - | EXPLOIT5.TextSize = 14.000 |
153 | + | |
154 | - | EXPLOIT5.TextWrapped = true |
154 | + | |
155 | - | EXPLOIT5.MouseButton1Down:connect(function() |
155 | + | |
156 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/aV6LcSGf'),true))() |
156 | + | |
157 | wait() | |
158 | txt:destroy() | |
159 | - | EXPLOIT9.Name = "EXPLOIT9" |
159 | + | |
160 | - | EXPLOIT9.Parent = MainFrame |
160 | + | |
161 | - | EXPLOIT9.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
161 | + | |
162 | - | EXPLOIT9.BorderSizePixel = 0 |
162 | + | |
163 | - | EXPLOIT9.Position = UDim2.new(0.75242722, 0, 0.129277572, 0) |
163 | + | |
164 | - | EXPLOIT9.Size = UDim2.new(0, 92, 0, 32) |
164 | + | |
165 | - | EXPLOIT9.Font = Enum.Font.Cartoon |
165 | + | |
166 | - | EXPLOIT9.Text = "Counter Pepsi" |
166 | + | |
167 | - | EXPLOIT9.TextColor3 = Color3.fromRGB(255, 255, 255) |
167 | + | |
168 | - | EXPLOIT9.TextScaled = true |
168 | + | |
169 | - | EXPLOIT9.TextSize = 14.000 |
169 | + | Player = owner |
170 | - | EXPLOIT9.TextWrapped = true |
170 | + | |
171 | - | EXPLOIT9.MouseButton1Down:connect(function() |
171 | + | |
172 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/cWTJj3aZ'),true))() |
172 | + | |
173 | Character = Player.Character | |
174 | Humanoid = Character.Humanoid | |
175 | - | EXPLOIT6.Name = "EXPLOIT6" |
175 | + | |
176 | - | EXPLOIT6.Parent = MainFrame |
176 | + | |
177 | - | EXPLOIT6.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
177 | + | |
178 | - | EXPLOIT6.BorderSizePixel = 0 |
178 | + | |
179 | - | EXPLOIT6.Position = UDim2.new(0.388349503, 0, 0.323193908, 0) |
179 | + | |
180 | - | EXPLOIT6.Size = UDim2.new(0, 92, 0, 32) |
180 | + | |
181 | - | EXPLOIT6.Font = Enum.Font.Cartoon |
181 | + | |
182 | - | EXPLOIT6.Text = "PsyHub" |
182 | + | |
183 | - | EXPLOIT6.TextColor3 = Color3.fromRGB(255, 255, 255) |
183 | + | |
184 | - | EXPLOIT6.TextScaled = true |
184 | + | |
185 | - | EXPLOIT6.TextSize = 14.000 |
185 | + | |
186 | - | EXPLOIT6.TextWrapped = true |
186 | + | |
187 | - | EXPLOIT6.MouseButton1Down:connect(function() |
187 | + | |
188 | - | loadstring(game:GetObjects("rbxassetid://3014051754")[1].Source)() |
188 | + | |
189 | ||
190 | IT = Instance.new | |
191 | - | EXPLOIT7.Name = "EXPLOIT7" |
191 | + | |
192 | - | EXPLOIT7.Parent = MainFrame |
192 | + | |
193 | - | EXPLOIT7.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
193 | + | |
194 | - | EXPLOIT7.BorderSizePixel = 0 |
194 | + | |
195 | - | EXPLOIT7.Position = UDim2.new(0.388349503, 0, 0.520912528, 0) |
195 | + | |
196 | - | EXPLOIT7.Size = UDim2.new(0, 92, 0, 32) |
196 | + | |
197 | - | EXPLOIT7.Font = Enum.Font.Cartoon |
197 | + | |
198 | - | EXPLOIT7.Text = "IY FE" |
198 | + | |
199 | - | EXPLOIT7.TextColor3 = Color3.fromRGB(255, 255, 255) |
199 | + | |
200 | - | EXPLOIT7.TextScaled = true |
200 | + | |
201 | - | EXPLOIT7.TextSize = 14.000 |
201 | + | |
202 | - | EXPLOIT7.TextWrapped = true |
202 | + | |
203 | - | EXPLOIT7.MouseButton1Down:connect(function() |
203 | + | |
204 | - | loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))() |
204 | + | |
205 | FLOOR = math.floor | |
206 | ||
207 | - | EXPLOIT8.Name = "EXPLOIT8" |
207 | + | |
208 | - | EXPLOIT8.Parent = MainFrame |
208 | + | |
209 | - | EXPLOIT8.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
209 | + | |
210 | - | EXPLOIT8.BorderSizePixel = 0 |
210 | + | |
211 | - | EXPLOIT8.Position = UDim2.new(0.388349503, 0, 0.711026609, 0) |
211 | + | |
212 | - | EXPLOIT8.Size = UDim2.new(0, 92, 0, 32) |
212 | + | |
213 | - | EXPLOIT8.Font = Enum.Font.Cartoon |
213 | + | |
214 | - | EXPLOIT8.Text = "Arsenal Kill All" |
214 | + | |
215 | - | EXPLOIT8.TextColor3 = Color3.fromRGB(255, 255, 255) |
215 | + | |
216 | - | EXPLOIT8.TextScaled = true |
216 | + | |
217 | - | EXPLOIT8.TextSize = 14.000 |
217 | + | |
218 | - | EXPLOIT8.TextWrapped = true |
218 | + | |
219 | - | EXPLOIT8.MouseButton1Down:connect(function() |
219 | + | |
220 | - | print("Script made by FramzDev#8283") |
220 | + | |
221 | - | local c = workspace.CurrentCamera |
221 | + | |
222 | - | local lplr = game.Players.LocalPlayer |
222 | + | |
223 | ||
224 | - | function a(p) |
224 | + | |
225 | - | if p and p.Character then |
225 | + | |
226 | - | pcall(function() |
226 | + | --|| CREATED BY SHACKLUSTER |
227 | - | local t = p.Character.PrimaryPart.CFrame * Vector3.new(0, -0.25, 0) |
227 | + | |
228 | - | c.CFrame = CFrame.new(c.Focus.p, t) * CFrame.new(0, 0, 0.5) |
228 | + | |
229 | ||
230 | ||
231 | wait(0.2) | |
232 | - | for i=1,10 do |
232 | + | |
233 | - | for _,v in pairs(game.Players:GetPlayers()) do |
233 | + | |
234 | - | pcall(function() |
234 | + | |
235 | - | for i=1,15 do |
235 | + | |
236 | - | lplr.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame - v.Character.HumanoidRootPart.CFrame.LookVector*4 |
236 | + | |
237 | - | a(v) |
237 | + | |
238 | - | wait() |
238 | + | |
239 | rut = char.HumanoidRootPart | |
240 | rutj = rut.RootJoint | |
241 | hum = char.Humanoid | |
242 | using = false | |
243 | eating = false | |
244 | it = Instance.new | |
245 | - | EXPLOIT10.Name = "EXPLOIT10" |
245 | + | |
246 | - | EXPLOIT10.Parent = MainFrame |
246 | + | Player = owner |
247 | - | EXPLOIT10.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
247 | + | |
248 | - | EXPLOIT10.BorderSizePixel = 0 |
248 | + | |
249 | - | EXPLOIT10.Position = UDim2.new(0.75242722, 0, 0.323193908, 0) |
249 | + | |
250 | - | EXPLOIT10.Size = UDim2.new(0, 92, 0, 32) |
250 | + | |
251 | - | EXPLOIT10.Font = Enum.Font.Cartoon |
251 | + | |
252 | - | EXPLOIT10.Text = "Reviz Admin" |
252 | + | |
253 | - | EXPLOIT10.TextColor3 = Color3.fromRGB(255, 255, 255) |
253 | + | |
254 | - | EXPLOIT10.TextScaled = true |
254 | + | |
255 | - | EXPLOIT10.TextSize = 14.000 |
255 | + | |
256 | - | EXPLOIT10.TextWrapped = true |
256 | + | |
257 | - | EXPLOIT10.MouseButton1Down:connect(function() |
257 | + | |
258 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/KNUzQPYS'),true))() |
258 | + | |
259 | RootJoint = RootPart["RootJoint"] | |
260 | Neck = Torso["Neck"] | |
261 | - | EXPLOIT11.Name = "EXPLOIT11" |
261 | + | |
262 | - | EXPLOIT11.Parent = MainFrame |
262 | + | |
263 | - | EXPLOIT11.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
263 | + | |
264 | - | EXPLOIT11.BorderSizePixel = 0 |
264 | + | |
265 | - | EXPLOIT11.Position = UDim2.new(0.75242722, 0, 0.520912528, 0) |
265 | + | |
266 | - | EXPLOIT11.Size = UDim2.new(0, 92, 0, 32) |
266 | + | |
267 | - | EXPLOIT11.Font = Enum.Font.Cartoon |
267 | + | |
268 | - | EXPLOIT11.Text = "FE GUI" |
268 | + | |
269 | - | EXPLOIT11.TextColor3 = Color3.fromRGB(255, 255, 255) |
269 | + | |
270 | - | EXPLOIT11.TextScaled = true |
270 | + | |
271 | - | EXPLOIT11.TextSize = 14.000 |
271 | + | |
272 | - | EXPLOIT11.TextWrapped = true |
272 | + | |
273 | - | EXPLOIT11.MouseButton1Down:connect(function() |
273 | + | |
274 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/yQaWHmZA'),true))() |
274 | + | |
275 | CF = CFrame.new | |
276 | VT = Vector3.new | |
277 | - | EXPLOIT12.Name = "EXPLOIT12" |
277 | + | |
278 | - | EXPLOIT12.Parent = MainFrame |
278 | + | |
279 | - | EXPLOIT12.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
279 | + | |
280 | - | EXPLOIT12.BorderSizePixel = 0 |
280 | + | |
281 | - | EXPLOIT12.Position = UDim2.new(0.75242722, 0, 0.711026609, 0) |
281 | + | |
282 | - | EXPLOIT12.Size = UDim2.new(0, 92, 0, 32) |
282 | + | |
283 | - | EXPLOIT12.Font = Enum.Font.Cartoon |
283 | + | |
284 | - | EXPLOIT12.Text = "FE Troll Animations" |
284 | + | |
285 | - | EXPLOIT12.TextColor3 = Color3.fromRGB(255, 255, 255) |
285 | + | |
286 | - | EXPLOIT12.TextScaled = true |
286 | + | |
287 | - | EXPLOIT12.TextSize = 14.000 |
287 | + | |
288 | - | EXPLOIT12.TextWrapped = true |
288 | + | |
289 | - | EXPLOIT12.MouseButton1Down:connect(function() |
289 | + | |
290 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/35ze0RJb'),true))() |
290 | + | |
291 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
292 | local NEWMESH = IT(MESH) | |
293 | - | EXPLOIT2.Name = "EXPLOIT2" |
293 | + | |
294 | - | EXPLOIT2.Parent = MainFrame |
294 | + | |
295 | - | EXPLOIT2.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
295 | + | |
296 | - | EXPLOIT2.BorderSizePixel = 0 |
296 | + | |
297 | - | EXPLOIT2.Position = UDim2.new(0.024271844, 0, 0.323193908, 0) |
297 | + | |
298 | - | EXPLOIT2.Size = UDim2.new(0, 92, 0, 32) |
298 | + | |
299 | - | EXPLOIT2.Font = Enum.Font.Cartoon |
299 | + | |
300 | - | EXPLOIT2.Text = "Fe Invis Kill" |
300 | + | |
301 | - | EXPLOIT2.TextColor3 = Color3.fromRGB(255, 255, 255) |
301 | + | |
302 | - | EXPLOIT2.TextScaled = true |
302 | + | |
303 | - | EXPLOIT2.TextSize = 14.000 |
303 | + | |
304 | - | EXPLOIT2.TextWrapped = true |
304 | + | |
305 | - | EXPLOIT2.MouseButton1Down:connect(function() |
305 | + | |
306 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/Lpn5rUDp'),true))() |
306 | + | |
307 | ||
308 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
309 | - | EXPLOIT3.Name = "EXPLOIT3" |
309 | + | |
310 | - | EXPLOIT3.Parent = MainFrame |
310 | + | |
311 | - | EXPLOIT3.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
311 | + | |
312 | - | EXPLOIT3.BorderSizePixel = 0 |
312 | + | |
313 | - | EXPLOIT3.Position = UDim2.new(0.024271844, 0, 0.520912528, 0) |
313 | + | |
314 | - | EXPLOIT3.Size = UDim2.new(0, 92, 0, 32) |
314 | + | |
315 | - | EXPLOIT3.Font = Enum.Font.Cartoon |
315 | + | |
316 | - | EXPLOIT3.Text = "Vybe CMD Bar" |
316 | + | |
317 | - | EXPLOIT3.TextColor3 = Color3.fromRGB(255, 255, 255) |
317 | + | |
318 | - | EXPLOIT3.TextScaled = true |
318 | + | |
319 | - | EXPLOIT3.TextSize = 14.000 |
319 | + | |
320 | - | EXPLOIT3.TextWrapped = true |
320 | + | |
321 | - | EXPLOIT3.MouseButton1Down:connect(function() |
321 | + | |
322 | - | loadstring(game:HttpGet(('https://pastebin.com/raw/NN5P4nQE'),true))() |
322 | + | |
323 | NEWPART.Material = MATERIAL | |
324 | NEWPART:BreakJoints() | |
325 | - | EXPLOIT4.Name = "EXPLOIT4" |
325 | + | |
326 | - | EXPLOIT4.Parent = MainFrame |
326 | + | |
327 | - | EXPLOIT4.BackgroundColor3 = Color3.fromRGB(68, 68, 68) |
327 | + | |
328 | - | EXPLOIT4.BorderSizePixel = 0 |
328 | + | |
329 | - | EXPLOIT4.Position = UDim2.new(0.024271844, 0, 0.711026609, 0) |
329 | + | |
330 | - | EXPLOIT4.Size = UDim2.new(0, 92, 0, 32) |
330 | + | |
331 | - | EXPLOIT4.Font = Enum.Font.Cartoon |
331 | + | |
332 | - | EXPLOIT4.Text = "JB Autorob" |
332 | + | |
333 | - | EXPLOIT4.TextColor3 = Color3.fromRGB(255, 255, 255) |
333 | + | |
334 | - | EXPLOIT4.TextScaled = true |
334 | + | |
335 | - | EXPLOIT4.TextSize = 14.000 |
335 | + | |
336 | - | EXPLOIT4.TextWrapped = true |
336 | + | |
337 | - | EXPLOIT4.MouseButton1Down:connect(function() |
337 | + | |
338 | - | loadstring(game:GetObjects("rbxassetid://1461971147")[1].Source)() |
338 | + | |
339 | local Effects2 = {} | |
340 | ||
341 | - | MainFrameBeautyB.Name = "MainFrameBeautyB" |
341 | + | |
342 | - | MainFrameBeautyB.Parent = MainFrame |
342 | + | |
343 | - | MainFrameBeautyB.BackgroundColor3 = Color3.fromRGB(0, 255, 0) |
343 | + | |
344 | - | MainFrameBeautyB.BorderSizePixel = 0 |
344 | + | |
345 | - | MainFrameBeautyB.Position = UDim2.new(0, 0, 0.916349828, 0) |
345 | + | |
346 | - | MainFrameBeautyB.Size = UDim2.new(0, 412, 0, 22) |
346 | + | |
347 | - | MainFrameBeautyB.Visible = false |
347 | + | |
348 | weldd.Part1 = b | |
349 | - | plr = game.Players.LocalPlayer |
349 | + | |
350 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
351 | weldd.Parent = a | |
352 | return weldd | |
353 | end | |
354 | ||
355 | --//=================================\\ | |
356 | --|| USEFUL VALUES | |
357 | - | mouse = plr:GetMouse() |
357 | + | |
358 | ||
359 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
360 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
361 | - | local Player = game.Players.localPlayer |
361 | + | |
362 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
363 | local CHANGEDEFENSE = 0 | |
364 | - | local Mouse = Player:GetMouse() |
364 | + | |
365 | local CHANGEMOVEMENT = 0 | |
366 | local ANIM = "Idle" | |
367 | local ATTACK = false | |
368 | local EQUIPPED = false | |
369 | local HOLD = false | |
370 | local COMBO = 1 | |
371 | local Rooted = false | |
372 | local SINE = 0 | |
373 | local KEYHOLD = false | |
374 | local CHANGE = 2 / Animation_Speed | |
375 | local WALKINGANIM = false | |
376 | local WALK = 0 | |
377 | local VALUE1 = false | |
378 | local VALUE2 = false | |
379 | local ROBLOXIDLEANIMATION = IT("Animation") | |
380 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
381 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
382 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
383 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
384 | WEAPONGUI.Name = "Weapon GUI" | |
385 | local Weapon = IT("Model") | |
386 | Weapon.Name = "Adds" | |
387 | local HITFLOOR = nil | |
388 | local Effects = IT("Folder", Weapon) | |
389 | Effects.Name = "Effects" | |
390 | local ANIMATOR = Humanoid.Animator | |
391 | local ANIMATE = Character.Animate | |
392 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
393 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
394 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
395 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
396 | local UNANCHOR = true | |
397 | ||
398 | local SKILLTEXTCOLOR = C3(0,255/255,0) | |
399 | ||
400 | --//=================================\\ | |
401 | --\\=================================// | |
402 | ||
403 | ||
404 | --//=================================\\ | |
405 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
406 | --\\=================================// | |
407 | ||
408 | ArtificialHB = Instance.new("BindableEvent", script) | |
409 | ArtificialHB.Name = "ArtificialHB" | |
410 | ||
411 | script:WaitForChild("ArtificialHB") | |
412 | ||
413 | frame = Frame_Speed | |
414 | tf = 0 | |
415 | allowframeloss = false | |
416 | tossremainder = false | |
417 | lastframe = tick() | |
418 | script.ArtificialHB:Fire() | |
419 | ||
420 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
421 | tf = tf + s | |
422 | if tf >= frame then | |
423 | if allowframeloss then | |
424 | script.ArtificialHB:Fire() | |
425 | lastframe = tick() | |
426 | else | |
427 | for i = 1, math.floor(tf / frame) do | |
428 | script.ArtificialHB:Fire() | |
429 | end | |
430 | lastframe = tick() | |
431 | end | |
432 | if tossremainder then | |
433 | tf = 0 | |
434 | else | |
435 | tf = tf - frame * math.floor(tf / frame) | |
436 | - | Player = game:GetService("Players").LocalPlayer |
436 | + | |
437 | end | |
438 | end) | |
439 | ||
440 | --//=================================\\ | |
441 | --\\=================================// | |
442 | - | Mouse = Player:GetMouse() |
442 | + | |
443 | ||
444 | ||
445 | ||
446 | ||
447 | --//=================================\\ | |
448 | --|| SOME FUNCTIONS | |
449 | --\\=================================// | |
450 | ||
451 | function clerp(a, b, t) | |
452 | return a:lerp(b, t) | |
453 | end | |
454 | ||
455 | function newBezier(startpos, pos2, pos3, endpos, t) | |
456 | local A = clerp(startpos, pos2, t) | |
457 | local B = clerp(pos2, pos3, t) | |
458 | local C = clerp(pos3, endpos, t) | |
459 | local lerp1 = clerp(A, B, t) | |
460 | local lerp2 = clerp(B, C, t) | |
461 | local cubic = clerp(lerp1, lerp2, t) | |
462 | return cubic | |
463 | end | |
464 | ||
465 | function ApplyAoE(POSITION,RANGE,BRUTAL) | |
466 | local CHILDREN = workspace:GetDescendants() | |
467 | for index, CHILD in pairs(CHILDREN) do | |
468 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
469 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
470 | if HUM then | |
471 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
472 | if TORSO then | |
473 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
474 | if BRUTAL == true then | |
475 | Kill(CHILD) | |
476 | else | |
477 | CHILD:BreakJoints() | |
478 | end | |
479 | end | |
480 | end | |
481 | end | |
482 | end | |
483 | end | |
484 | end | |
485 | ||
486 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
487 | function WACKYEFFECT(Table) | |
488 | local TYPE = (Table.EffectType or "Sphere") | |
489 | local SIZE = (Table.Size or VT(1,1,1)) | |
490 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
491 | local TRANSPARENCY = (Table.Transparency or 0) | |
492 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
493 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
494 | - | --|| |
494 | + | |
495 | local ROTATION1 = (Table.RotationX or 0) | |
496 | local ROTATION2 = (Table.RotationY or 0) | |
497 | local ROTATION3 = (Table.RotationZ or 0) | |
498 | local MATERIAL = (Table.Material or "Neon") | |
499 | local COLOR = (Table.Color or C3(1,1,1)) | |
500 | local TIME = (Table.Time or 45) | |
501 | local SOUNDID = (Table.SoundID or nil) | |
502 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
503 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
504 | coroutine.resume(coroutine.create(function() | |
505 | local PLAYSSOUND = false | |
506 | local SOUND = nil | |
507 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
508 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
509 | PLAYSSOUND = true | |
510 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
511 | end | |
512 | EFFECT.Color = COLOR | |
513 | local MSH = nil | |
514 | - | Player = game:GetService("Players").LocalPlayer |
514 | + | |
515 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
516 | elseif TYPE == "Block" then | |
517 | MSH = IT("BlockMesh",EFFECT) | |
518 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
519 | elseif TYPE == "Wave" then | |
520 | - | Mouse = Player:GetMouse() |
520 | + | |
521 | elseif TYPE == "Ring" then | |
522 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
523 | elseif TYPE == "Slash" then | |
524 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
525 | elseif TYPE == "Round Slash" then | |
526 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
527 | elseif TYPE == "Swirl" then | |
528 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
529 | elseif TYPE == "Skull" then | |
530 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
531 | elseif TYPE == "Crystal" then | |
532 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
533 | end | |
534 | if MSH ~= nil then | |
535 | local MOVESPEED = nil | |
536 | if MOVEDIRECTION ~= nil then | |
537 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
538 | end | |
539 | local GROWTH = SIZE - ENDSIZE | |
540 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
541 | if TYPE == "Block" then | |
542 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
543 | else | |
544 | EFFECT.CFrame = CFRAME | |
545 | end | |
546 | for LOOP = 1, TIME+1 do | |
547 | Swait() | |
548 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
549 | if TYPE == "Wave" then | |
550 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
551 | end | |
552 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
553 | if TYPE == "Block" then | |
554 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
555 | else | |
556 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
557 | end | |
558 | if MOVEDIRECTION ~= nil then | |
559 | local ORI = EFFECT.Orientation | |
560 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
561 | EFFECT.Orientation = ORI | |
562 | end | |
563 | end | |
564 | if PLAYSSOUND == false then | |
565 | EFFECT:remove() | |
566 | else | |
567 | SOUND.Stopped:Connect(function() | |
568 | EFFECT:remove() | |
569 | end) | |
570 | end | |
571 | else | |
572 | if PLAYSSOUND == false then | |
573 | EFFECT:remove() | |
574 | else | |
575 | repeat Swait() until SOUND.Playing == false | |
576 | EFFECT:remove() | |
577 | end | |
578 | end | |
579 | end)) | |
580 | end | |
581 | ||
582 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
583 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
584 | end | |
585 | ||
586 | function PositiveAngle(NUMBER) | |
587 | if NUMBER >= 0 then | |
588 | NUMBER = 0 | |
589 | end | |
590 | return NUMBER | |
591 | end | |
592 | ||
593 | function NegativeAngle(NUMBER) | |
594 | if NUMBER <= 0 then | |
595 | NUMBER = 0 | |
596 | end | |
597 | return NUMBER | |
598 | end | |
599 | ||
600 | function Swait(NUMBER) | |
601 | if NUMBER == 0 or NUMBER == nil then | |
602 | ArtificialHB.Event:wait() | |
603 | else | |
604 | for i = 1, NUMBER do | |
605 | ArtificialHB.Event:wait() | |
606 | end | |
607 | end | |
608 | end | |
609 | ||
610 | function QuaternionFromCFrame(cf) | |
611 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
612 | local trace = m00 + m11 + m22 | |
613 | if trace > 0 then | |
614 | local s = math.sqrt(1 + trace) | |
615 | local recip = 0.5 / s | |
616 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
617 | else | |
618 | local i = 0 | |
619 | if m11 > m00 then | |
620 | i = 1 | |
621 | end | |
622 | if m22 > (i == 0 and m00 or m11) then | |
623 | i = 2 | |
624 | end | |
625 | if i == 0 then | |
626 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
627 | local recip = 0.5 / s | |
628 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
629 | elseif i == 1 then | |
630 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
631 | local recip = 0.5 / s | |
632 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
633 | elseif i == 2 then | |
634 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
635 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
636 | end | |
637 | end | |
638 | end | |
639 | ||
640 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
641 | local xs, ys, zs = x + x, y + y, z + z | |
642 | local wx, wy, wz = w * xs, w * ys, w * zs | |
643 | local xx = x * xs | |
644 | local xy = x * ys | |
645 | local xz = x * zs | |
646 | local yy = y * ys | |
647 | local yz = y * zs | |
648 | local zz = z * zs | |
649 | 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)) | |
650 | end | |
651 | ||
652 | function QuaternionSlerp(a, b, t) | |
653 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
654 | local startInterp, finishInterp; | |
655 | if cosTheta >= 0.0001 then | |
656 | if (1 - cosTheta) > 0.0001 then | |
657 | local theta = ACOS(cosTheta) | |
658 | local invSinTheta = 1 / SIN(theta) | |
659 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
660 | finishInterp = SIN(t * theta) * invSinTheta | |
661 | else | |
662 | startInterp = 1 - t | |
663 | finishInterp = t | |
664 | end | |
665 | else | |
666 | if (1 + cosTheta) > 0.0001 then | |
667 | local theta = ACOS(-cosTheta) | |
668 | local invSinTheta = 1 / SIN(theta) | |
669 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
670 | finishInterp = SIN(t * theta) * invSinTheta | |
671 | else | |
672 | startInterp = t - 1 | |
673 | finishInterp = t | |
674 | end | |
675 | end | |
676 | 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 | |
677 | end | |
678 | ||
679 | function Clerp(a, b, t) | |
680 | local qa = {QuaternionFromCFrame(a)} | |
681 | local qb = {QuaternionFromCFrame(b)} | |
682 | local ax, ay, az = a.x, a.y, a.z | |
683 | local bx, by, bz = b.x, b.y, b.z | |
684 | local _t = 1 - t | |
685 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
686 | end | |
687 | ||
688 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
689 | local frame = IT("Frame") | |
690 | frame.BackgroundTransparency = TRANSPARENCY | |
691 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
692 | frame.Position = POSITION | |
693 | frame.Size = SIZE | |
694 | frame.BackgroundColor3 = COLOR | |
695 | frame.BorderColor3 = BORDERCOLOR | |
696 | frame.Name = NAME | |
697 | frame.Parent = PARENT | |
698 | return frame | |
699 | end | |
700 | ||
701 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
702 | local label = IT("TextLabel") | |
703 | label.BackgroundTransparency = 1 | |
704 | label.Size = UD2(1, 0, 1, 0) | |
705 | label.Position = UD2(0, 0, 0, 0) | |
706 | label.TextColor3 = TEXTCOLOR | |
707 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
708 | label.TextTransparency = TRANSPARENCY | |
709 | label.FontSize = TEXTFONTSIZE | |
710 | label.Font = TEXTFONT | |
711 | label.BorderSizePixel = BORDERSIZEPIXEL | |
712 | label.TextScaled = false | |
713 | label.Text = TEXT | |
714 | label.Name = NAME | |
715 | label.Parent = PARENT | |
716 | return label | |
717 | end | |
718 | ||
719 | function NoOutlines(PART) | |
720 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
721 | end | |
722 | ||
723 | ||
724 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
725 | local NEWWELD = IT(TYPE) | |
726 | NEWWELD.Part0 = PART0 | |
727 | NEWWELD.Part1 = PART1 | |
728 | NEWWELD.C0 = C0 | |
729 | NEWWELD.C1 = C1 | |
730 | NEWWELD.Parent = PARENT | |
731 | return NEWWELD | |
732 | end | |
733 | ||
734 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
735 | local NEWSOUND = nil | |
736 | coroutine.resume(coroutine.create(function() | |
737 | NEWSOUND = IT("Sound", PARENT) | |
738 | NEWSOUND.Volume = VOLUME | |
739 | NEWSOUND.Pitch = PITCH | |
740 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
741 | Swait() | |
742 | NEWSOUND:play() | |
743 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
744 | end)) | |
745 | return NEWSOUND | |
746 | end | |
747 | ||
748 | function CFrameFromTopBack(at, top, back) | |
749 | local right = top:Cross(back) | |
750 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
751 | end | |
752 | ||
753 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
754 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0)) | |
755 | local mesh = IT("SpecialMesh",wave) | |
756 | mesh.MeshType = "FileMesh" | |
757 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
758 | mesh.Scale = SIZE | |
759 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
760 | wave.CFrame = CFRAME | |
761 | coroutine.resume(coroutine.create(function(PART) | |
762 | for i = 1, WAIT do | |
763 | Swait() | |
764 | mesh.Scale = mesh.Scale + GROW | |
765 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
766 | if DOESROT == true then | |
767 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
768 | end | |
769 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
770 | if wave.Transparency > 0.99 then | |
771 | wave:remove() | |
772 | end | |
773 | end | |
774 | end)) | |
775 | end | |
776 | ||
777 | function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
778 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0)) | |
779 | local mesh = IT("SpecialMesh",wave) | |
780 | mesh.MeshType = "FileMesh" | |
781 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
782 | mesh.Scale = SIZE | |
783 | --mesh.Offset = VT(0,0,-SIZE.X/8) | |
784 | wave.CFrame = CFRAME | |
785 | coroutine.resume(coroutine.create(function(PART) | |
786 | for i = 1, WAIT do | |
787 | Swait() | |
788 | mesh.Scale = mesh.Scale + GROW | |
789 | --mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
790 | if DOESROT == true then | |
791 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
792 | end | |
793 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
794 | if wave.Transparency > 0.99 then | |
795 | wave:remove() | |
796 | end | |
797 | end | |
798 | end)) | |
799 | end | |
800 | ||
801 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
802 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0)) | |
803 | local mesh = IT("SpecialMesh",wave) | |
804 | mesh.MeshType = "FileMesh" | |
805 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
806 | mesh.Scale = SIZE | |
807 | wave.CFrame = CFRAME | |
808 | coroutine.resume(coroutine.create(function(PART) | |
809 | for i = 1, WAIT do | |
810 | Swait() | |
811 | mesh.Scale = mesh.Scale + GROW | |
812 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
813 | if DOESROT == true then | |
814 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
815 | end | |
816 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
817 | if wave.Transparency > 0.99 then | |
818 | wave:remove() | |
819 | end | |
820 | end | |
821 | end)) | |
822 | end | |
823 | ||
824 | ||
825 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
826 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(1,1,1), true) | |
827 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
828 | wave.CFrame = CFRAME | |
829 | coroutine.resume(coroutine.create(function(PART) | |
830 | for i = 1, WAIT do | |
831 | Swait() | |
832 | mesh.Scale = mesh.Scale * GROW | |
833 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
834 | if wave.Transparency > 0.99 then | |
835 | wave:remove() | |
836 | end | |
837 | end | |
838 | end)) | |
839 | end | |
840 | ||
841 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
842 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Effect", VT(1,1,1), true) | |
843 | local mesh = IT("SpecialMesh",wave) | |
844 | mesh.MeshType = "Sphere" | |
845 | mesh.Scale = SIZE | |
846 | mesh.Offset = VT(0,0,0) | |
847 | wave.CFrame = CFRAME | |
848 | coroutine.resume(coroutine.create(function(PART) | |
849 | for i = 1, WAIT do | |
850 | Swait() | |
851 | mesh.Scale = mesh.Scale + GROW | |
852 | wave.Transparency = wave.Transparency + (1/WAIT) | |
853 | if wave.Transparency > 0.99 then | |
854 | wave:remove() | |
855 | end | |
856 | end | |
857 | end)) | |
858 | end | |
859 | ||
860 | function MakeForm(PART,TYPE) | |
861 | if TYPE == "Cyl" then | |
862 | local MSH = IT("CylinderMesh",PART) | |
863 | elseif TYPE == "Ball" then | |
864 | local MSH = IT("SpecialMesh",PART) | |
865 | MSH.MeshType = "Sphere" | |
866 | elseif TYPE == "Wedge" then | |
867 | local MSH = IT("SpecialMesh",PART) | |
868 | MSH.MeshType = "Wedge" | |
869 | end | |
870 | end | |
871 | ||
872 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
873 | if FLOOR ~= nil then | |
874 | coroutine.resume(coroutine.create(function() | |
875 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) | |
876 | PART.CFrame = CF(POSITION) | |
877 | for i = 1, 45 do | |
878 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
879 | RingPiece.Material = FLOOR.Material | |
880 | RingPiece.Color = FLOOR.Color | |
881 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
882 | Debris:AddItem(RingPiece,SWAIT/100) | |
883 | end | |
884 | PART:remove() | |
885 | end)) | |
886 | end | |
887 | end | |
888 | ||
889 | function CheckTableForString(Table, String) | |
890 | for i, v in pairs(Table) do | |
891 | if string.find(string.lower(String), string.lower(v)) then | |
892 | return true | |
893 | end | |
894 | end | |
895 | return false | |
896 | end | |
897 | ||
898 | function CheckIntangible(Hit) | |
899 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
900 | if Hit and Hit.Parent then | |
901 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
902 | return true | |
903 | end | |
904 | end | |
905 | return false | |
906 | end | |
907 | ||
908 | Debris = game:GetService("Debris") | |
909 | ||
910 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
911 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
912 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
913 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
914 | if RayHit and CheckIntangible(RayHit) then | |
915 | if DelayIfHit then | |
916 | wait() | |
917 | end | |
918 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
919 | end | |
920 | return RayHit, RayPos, RayNormal | |
921 | end | |
922 | ||
923 | function turnto(position) | |
924 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
925 | end | |
926 | ||
927 | --//=================================\\ | |
928 | --|| WEAPON CREATION | |
929 | --\\=================================// | |
930 | ||
931 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
932 | PRT.Color = C3(0,0,0) | |
933 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) | |
934 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0)) | |
935 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false) | |
936 | PRT.Color = C3(0,0,0) | |
937 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0)) | |
938 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0)) | |
939 | for i = 1, 16 do | |
940 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false) | |
941 | FACE.Color = C3(0,0,0) | |
942 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
943 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0)) | |
944 | end | |
945 | local EYE = CreatePart(3, Character, "Neon", 0, 0, "Dark Green", "Eyeball", VT(0.15,0.15,0.15),false) | |
946 | MakeForm(EYE,"Ball") | |
947 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0)) | |
948 | local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false) | |
949 | MakeForm(EYE2,"Ball") | |
950 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0)) | |
951 | local LASTPART = Head | |
952 | for i = 1, 20 do | |
953 | local MATH = (1-(i/25)) | |
954 | if LASTPART == Head then | |
955 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
956 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0)) | |
957 | LASTPART = Horn | |
958 | Horn.Color = C3((i*3-3)/255,0,0) | |
959 | else | |
960 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
961 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0)) | |
962 | LASTPART = Horn | |
963 | Horn.Color = C3((i*3-3)/255,0,0) | |
964 | end | |
965 | end | |
966 | local LASTPART = Head | |
967 | for i = 1, 20 do | |
968 | local MATH = (1-(i/25)) | |
969 | if LASTPART == Head then | |
970 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
971 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0)) | |
972 | LASTPART = Horn | |
973 | Horn.Color = C3((i*3-3)/255,0,0) | |
974 | else | |
975 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
976 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0)) | |
977 | LASTPART = Horn | |
978 | Horn.Color = C3((i*3-3)/255,0,0) | |
979 | end | |
980 | end | |
981 | ||
982 | local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Dark green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) | |
983 | local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
984 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) | |
985 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
986 | ||
987 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
988 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
989 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
990 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
991 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
992 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
993 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
994 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
995 | ||
996 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) | |
997 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
998 | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) | |
999 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1000 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1001 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1002 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1003 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1004 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1005 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1006 | ||
1007 | ||
1008 | local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Dark green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) | |
1009 | local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1010 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) | |
1011 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1012 | ||
1013 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1014 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1015 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1016 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1017 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1018 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1019 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) | |
1020 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1021 | ||
1022 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) | |
1023 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1024 | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) | |
1025 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1026 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1027 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1028 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1029 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1030 | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) | |
1031 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1032 | ||
1033 | for _, c in pairs(Weapon:GetChildren()) do | |
1034 | if c.ClassName == "Part" then | |
1035 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1036 | end | |
1037 | end | |
1038 | ||
1039 | Weapon.Parent = Character | |
1040 | ||
1041 | Humanoid.Died:connect(function() | |
1042 | ATTACK = true | |
1043 | end) | |
1044 | local top = Instance.new("Shirt") | |
1045 | top.ShirtTemplate = "rbxassetid://648758131" | |
1046 | top.Parent = Character | |
1047 | top.Name = "Cloth" | |
1048 | local bottom = Instance.new("Pants") | |
1049 | bottom.PantsTemplate = "rbxassetid://472675863" | |
1050 | bottom.Parent = Character | |
1051 | bottom.Name = "Cloth" | |
1052 | ||
1053 | local Hood = Instance.new("Part", Character) | |
1054 | Hood.Name = "Hood" | |
1055 | Hood.CanCollide = false | |
1056 | Hood.BrickColor = BrickColor.new("Really black") | |
1057 | Hood.Transparency = 0 | |
1058 | Hood.Material = "Plastic" | |
1059 | Hood.Size = Vector3.new(0.1, 0.1, 0.1) | |
1060 | Hood.TopSurface = Enum.SurfaceType.Smooth | |
1061 | Hood.BottomSurface = Enum.SurfaceType.Smooth | |
1062 | ||
1063 | local Weld = Instance.new("Weld", Hood) | |
1064 | Weld.Part0 = Character.Head | |
1065 | Weld.Part1 = Hood | |
1066 | Weld.C1 = CFrame.new(0, -0.2, 0) | |
1067 | ||
1068 | local Mask = Instance.new("Part", Character) | |
1069 | Mask.Name = "Mask" | |
1070 | Mask.CanCollide = false | |
1071 | Mask.BrickColor = BrickColor.new("Mid gray") | |
1072 | Mask.Transparency = 0 | |
1073 | Mask.Material = "Plastic" | |
1074 | Mask.Size = Vector3.new(0.1, 0.1, 0.1) | |
1075 | Mask.TopSurface = Enum.SurfaceType.Smooth | |
1076 | Mask.BottomSurface = Enum.SurfaceType.Smooth | |
1077 | ||
1078 | local Weld = Instance.new("Weld", Mask) | |
1079 | Weld.Part0 = Character.Head | |
1080 | Weld.Part1 = Mask | |
1081 | Weld.C1 = CFrame.new(0, -0.1, 0.8) | |
1082 | ||
1083 | local M1 = Instance.new("SpecialMesh") | |
1084 | M1.Parent = Mask | |
1085 | M1.MeshId = "http://www.roblox.com/asset/?id=62679079" | |
1086 | M1.Scale = Vector3.new( 1, 1, 2) | |
1087 | ||
1088 | local M2 = Instance.new("SpecialMesh") | |
1089 | M2.Parent = Hood | |
1090 | M2.MeshId = "http://www.roblox.com/asset/?id=83499032" | |
1091 | M2.Scale = Vector3.new( 1, 1.2, 1.1) | |
1092 | ||
1093 | local BODY = {} | |
1094 | for _, c in pairs(Character:GetDescendants()) do | |
1095 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1096 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1097 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1098 | end | |
1099 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) | |
1100 | elseif c:IsA("JointInstance") then | |
1101 | table.insert(BODY,{c,c.Parent,nil,nil,nil}) | |
1102 | end | |
1103 | end | |
1104 | for e = 1, #BODY do | |
1105 | if BODY[e] ~= nil then | |
1106 | local STUFF = BODY[e] | |
1107 | local PART = STUFF[1] | |
1108 | local PARENT = STUFF[2] | |
1109 | local MATERIAL = STUFF[3] | |
1110 | local COLOR = STUFF[4] | |
1111 | local TRANSPARENCY = STUFF[5] | |
1112 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1113 | PART.Material = MATERIAL | |
1114 | PART.Color = COLOR | |
1115 | PART.Transparency = TRANSPARENCY | |
1116 | end | |
1117 | PART.AncestryChanged:Connect(function() | |
1118 | PART.Parent = PARENT | |
1119 | end) | |
1120 | end | |
1121 | end | |
1122 | ||
1123 | function refit() | |
1124 | Character.Parent = workspace | |
1125 | for e = 1, #BODY do | |
1126 | if BODY[e] ~= nil then | |
1127 | local STUFF = BODY[e] | |
1128 | local PART = STUFF[1] | |
1129 | local PARENT = STUFF[2] | |
1130 | local MATERIAL = STUFF[3] | |
1131 | local COLOR = STUFF[4] | |
1132 | local TRANSPARENCY = STUFF[5] | |
1133 | if PART:IsA("BasePart") and PART ~= RootPart then | |
1134 | PART.Material = MATERIAL | |
1135 | PART.Color = COLOR | |
1136 | PART.Transparency = TRANSPARENCY | |
1137 | end | |
1138 | if PART.Parent ~= PARENT then | |
1139 | Humanoid:remove() | |
1140 | PART.Parent = PARENT | |
1141 | Humanoid = IT("Humanoid",Character) | |
1142 | end | |
1143 | end | |
1144 | end | |
1145 | end | |
1146 | ||
1147 | local SKILLTEXTCOLOR = Color3.fromRGB(81, 69, 69) | |
1148 | local SKILLFONT = "Fantasy" | |
1149 | local SKILLTEXTSIZE = 7 | |
1150 | ||
1151 | Weapon.Parent = Character | |
1152 | Humanoid.Parent = Character | |
1153 | ||
1154 | Humanoid.Died:connect(function() | |
1155 | refit() | |
1156 | end) | |
1157 | ||
1158 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1159 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1160 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1161 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1162 | ||
1163 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Death's Agreement", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1") | |
1164 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Grab Time", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2") | |
1165 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Max Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3") | |
1166 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Green's Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4") | |
1167 | ||
1168 | ||
1169 | function Blink() | |
1170 | coroutine.resume(coroutine.create(function() | |
1171 | if EYE ~= nil then | |
1172 | for i = 1, 5 do | |
1173 | Swait() | |
1174 | EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0) | |
1175 | EYE2.Mesh.Scale = EYE.Mesh.Scale | |
1176 | end | |
1177 | for i = 1, 7 do | |
1178 | Swait() | |
1179 | EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0) | |
1180 | EYE2.Mesh.Scale = EYE.Mesh.Scale | |
1181 | end | |
1182 | EYE.Mesh.Scale = VT(1,1,1) | |
1183 | EYE2.Mesh.Scale = EYE.Mesh.Scale | |
1184 | end | |
1185 | end)) | |
1186 | end | |
1187 | ||
1188 | --//=================================\\ | |
1189 | --|| DAMAGE FUNCTIONS | |
1190 | --\\=================================// | |
1191 | ||
1192 | function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) | |
1193 | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really dark", "Effect", VT()) | |
1194 | STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) | |
1195 | local BODYGYRO = IT("BodyGyro", STATPART) | |
1196 | local BODYPOSITION = IT("BodyPosition", STATPART) | |
1197 | BODYPOSITION.P = 2000 | |
1198 | BODYPOSITION.D = 100 | |
1199 | BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) | |
1200 | BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) | |
1201 | game:GetService("Debris"):AddItem(STATPART ,5) | |
1202 | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) | |
1203 | BILLBOARDGUI.Adornee = STATPART | |
1204 | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) | |
1205 | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
1206 | BILLBOARDGUI.AlwaysOnTop = false | |
1207 | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) | |
1208 | TEXTLABEL.BackgroundTransparency = 1 | |
1209 | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
1210 | TEXTLABEL.Text = TEXT | |
1211 | TEXTLABEL.Font = "SciFi" | |
1212 | TEXTLABEL.FontSize="Size42" | |
1213 | TEXTLABEL.TextColor3 = COLOR | |
1214 | TEXTLABEL.TextStrokeTransparency = 1 | |
1215 | TEXTLABEL.TextScaled = true | |
1216 | TEXTLABEL.TextWrapped = true | |
1217 | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
1218 | if LABELTYPE == "Normal" then | |
1219 | for i = 1, 30 do | |
1220 | Swait() | |
1221 | STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0) | |
1222 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
1223 | end | |
1224 | elseif LABELTYPE == "Debuff" then | |
1225 | for i = 1, 30 do | |
1226 | Swait() | |
1227 | STATPART.Position = STATPART.Position - VT(0, i/10 ,0) | |
1228 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
1229 | end | |
1230 | elseif LABELTYPE == "Shock" then | |
1231 | local ORIGIN = STATPART.Position | |
1232 | for i = 1, 30 do | |
1233 | Swait() | |
1234 | STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2)) | |
1235 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) | |
1236 | end | |
1237 | end | |
1238 | THEPART.Parent = nil | |
1239 | end),STATPART, BODYPOSITION, TEXTLABEL) | |
1240 | end | |
1241 | ||
1242 | --//=================================\\ | |
1243 | --|| DAMAGING | |
1244 | --\\=================================// | |
1245 | ||
1246 | function killnearest(position,range,maxstrength,direction) | |
1247 | for i,v in ipairs(workspace:GetChildren()) do | |
1248 | local body = v:GetChildren() | |
1249 | for part = 1, #body do | |
1250 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
1251 | if(body[part].Position - position).Magnitude < range then | |
1252 | if v.ClassName == "Model" then | |
1253 | --v:BreakJoints() | |
1254 | end | |
1255 | local POS = position | |
1256 | coroutine.resume(coroutine.create(function() | |
1257 | body[part].Anchored = true | |
1258 | body[part].Parent = Effects | |
1259 | body[part].CanCollide = true | |
1260 | local SIZE = body[part].Size | |
1261 | body[part].Material = "Neon" | |
1262 | CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10) | |
1263 | for i = 1, 75 do | |
1264 | Swait() | |
1265 | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
1266 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1267 | end | |
1268 | coroutine.resume(coroutine.create(function() | |
1269 | while true do | |
1270 | Swait() | |
1271 | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
1272 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1273 | end | |
1274 | end)) | |
1275 | body[part].Anchored = false | |
1276 | body[part].Velocity = direction.lookVector*maxstrength | |
1277 | end)) | |
1278 | end | |
1279 | end | |
1280 | end | |
1281 | if v.ClassName == "Part" then | |
1282 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
1283 | local POS = position | |
1284 | coroutine.resume(coroutine.create(function() | |
1285 | v.Anchored = true | |
1286 | v.Parent = Effects | |
1287 | local SIZE = v.Size | |
1288 | v.Material = "Neon" | |
1289 | CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10) | |
1290 | for i = 1, 75 do | |
1291 | Swait() | |
1292 | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
1293 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1294 | end | |
1295 | coroutine.resume(coroutine.create(function() | |
1296 | while true do | |
1297 | Swait() | |
1298 | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
1299 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
1300 | end | |
1301 | end)) | |
1302 | v.Anchored = false | |
1303 | v.Velocity = direction.lookVector*maxstrength | |
1304 | end)) | |
1305 | end | |
1306 | end | |
1307 | end | |
1308 | end | |
1309 | ||
1310 | --//=================================\\ | |
1311 | --|| ATTACK FUNCTIONS AND STUFF | |
1312 | --\\=================================// | |
1313 | ||
1314 | function impale(chain,hit) | |
1315 | if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then | |
1316 | local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1317 | if humanoid.Health ~= 0 then | |
1318 | hit.Parent:BreakJoints() | |
1319 | getbloody(hit,15) | |
1320 | local prtcl = asd:Clone() | |
1321 | prtcl.Parent = chain | |
1322 | prtcl.Enabled = true | |
1323 | prtcl.Speed = NumberRange.new(0) | |
1324 | prtcl.Size = NumberSequence.new(0.2) | |
1325 | end | |
1326 | end | |
1327 | end | |
1328 | ||
1329 | function CreateMagicCircle() | |
1330 | local sinkhole = IT("Part") | |
1331 | sinkhole.Size = VT(0,0,0) | |
1332 | sinkhole.Parent = Effects | |
1333 | sinkhole.Material = "Neon" | |
1334 | sinkhole.Color = C3(0,0,0) | |
1335 | sinkhole.Anchored = true | |
1336 | sinkhole.CanCollide = false | |
1337 | sinkhole.Transparency = 1 | |
1338 | local decal = IT("Decal",sinkhole) | |
1339 | decal.Face = "Top" | |
1340 | decal.Texture = "http://www.roblox.com/asset/?id=1172964487" | |
1341 | local decal2 = IT("Decal",sinkhole) | |
1342 | decal2.Face = "Bottom" | |
1343 | decal2.Texture = "http://www.roblox.com/asset/?id=1172964487" | |
1344 | return sinkhole | |
1345 | end | |
1346 | ||
1347 | function Chain() | |
1348 | ATTACK = true | |
1349 | Rooted = false | |
1350 | for i=0, 2, 0.1 / Animation_Speed do | |
1351 | turnto(Mouse.Hit.p) | |
1352 | Swait() | |
1353 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.25 / Animation_Speed) | |
1354 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.25 / Animation_Speed) | |
1355 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed) | |
1356 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed) | |
1357 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1358 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1359 | end | |
1360 | CreateSound("1208650519", RightArm, 10, 2) | |
1361 | local RING = CreateMagicCircle() | |
1362 | RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) | |
1363 | for i = 1, 5 do | |
1364 | turnto(Mouse.Hit.p) | |
1365 | Swait() | |
1366 | local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position) | |
1367 | MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0)) | |
1368 | MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0)) | |
1369 | RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0)) | |
1370 | RING.Size = RING.Size + VT(1,0,1) | |
1371 | end | |
1372 | coroutine.resume(coroutine.create(function() | |
1373 | local POS = Mouse.Hit.p | |
1374 | local A = IT("Attachment",RING) | |
1375 | for i = 1, 15 do | |
1376 | Swait(MRANDOM(0,5)) | |
1377 | coroutine.resume(coroutine.create(function() | |
1378 | local Front = CreatePart(3, Effects, "DiamondPlate", 1, 1, "Dark green", "Chain head", VT(1,1,1),false) | |
1379 | --print("Chain start") | |
1380 | Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3)) | |
1381 | Front.CanCollide = true | |
1382 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1) | |
1383 | local B = IT("Attachment",Front) | |
1384 | local ChainLink = IT("Beam",RING) | |
1385 | ChainLink.Texture = "rbxassetid://1262544869" | |
1386 | ChainLink.TextureSpeed = 0 | |
1387 | ChainLink.FaceCamera = true | |
1388 | ChainLink.Width0 = 3 | |
1389 | ChainLink.Attachment0 = A | |
1390 | ChainLink.Attachment1 = B | |
1391 | ChainLink.CurveSize0 = MRANDOM(-5,5) | |
1392 | ChainLink.CurveSize1 = MRANDOM(-5,5) | |
1393 | ChainLink.TextureMode = "Static" | |
1394 | local bv = Instance.new("BodyVelocity") | |
1395 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1396 | bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500 | |
1397 | bv.Parent = Front | |
1398 | bv.Name = "MOVE" | |
1399 | --print("Chain made") | |
1400 | coroutine.resume(coroutine.create(function() | |
1401 | Swait(50) | |
1402 | bv:remove() | |
1403 | local POS = Front.Position | |
1404 | Front.CanCollide = false | |
1405 | local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5)) | |
1406 | local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5)) | |
1407 | for i = 0, 1, 0.07 do | |
1408 | Swait() | |
1409 | Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i)) | |
1410 | end | |
1411 | Front:remove() | |
1412 | ChainLink:remove() | |
1413 | end)) | |
1414 | local harm = Front.Touched:Connect(function(hit) | |
1415 | impale(Front,hit) | |
1416 | end) | |
1417 | end)) | |
1418 | end | |
1419 | Swait(60) | |
1420 | for i = 1, 5 do | |
1421 | Swait() | |
1422 | RING.Size = RING.Size - VT(1,0,1) | |
1423 | end | |
1424 | RING:remove() | |
1425 | end)) | |
1426 | ATTACK = false | |
1427 | Rooted = false | |
1428 | end | |
1429 | ||
1430 | function kiss() | |
1431 | ATTACK = true | |
1432 | Rooted = false | |
1433 | local HASGRABBED = false | |
1434 | local GRABTARGET = nil | |
1435 | local TORS = nil | |
1436 | local WELD = nil | |
1437 | for i=0, 1, 0.1 / Animation_Speed do | |
1438 | Swait() | |
1439 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1440 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1441 | end | |
1442 | local GRAB1 = RightArm.Touched:Connect(function(hit) | |
1443 | if hit.Parent:FindFirstChild("Humanoid") then | |
1444 | if hit.Parent.Humanoid.Health ~= 0 then | |
1445 | UNANCHOR = false | |
1446 | RootPart.Anchored = true | |
1447 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1448 | TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0)) | |
1449 | WELD = weldBetween(RootPart,TORS) | |
1450 | HASGRABBED = true | |
1451 | Rooted = true | |
1452 | end | |
1453 | end | |
1454 | end) | |
1455 | local GRAB2 = LeftArm.Touched:Connect(function(hit) | |
1456 | if hit.Parent:FindFirstChild("Humanoid") then | |
1457 | if hit.Parent.Humanoid.Health ~= 0 then | |
1458 | UNANCHOR = false | |
1459 | RootPart.Anchored = true | |
1460 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1461 | TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0)) | |
1462 | WELD = weldBetween(RootPart,TORS) | |
1463 | HASGRABBED = true | |
1464 | Rooted = true | |
1465 | end | |
1466 | end | |
1467 | end) | |
1468 | for i=0, 1, 0.1 / Animation_Speed do | |
1469 | Swait() | |
1470 | if HASGRABBED == true then | |
1471 | break | |
1472 | end | |
1473 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1474 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1475 | end | |
1476 | GRAB1:disconnect() | |
1477 | GRAB2:disconnect() | |
1478 | if HASGRABBED == true then | |
1479 | TORS.Anchored = false | |
1480 | GRABTARGET = TORS.Parent | |
1481 | HED = GRABTARGET:FindFirstChild("Head") | |
1482 | for i=0, 2, 0.1 / Animation_Speed do | |
1483 | Swait() | |
1484 | end | |
1485 | local heart = CreatePart(1, HED, "DiamondPlate", 0, 0, "Dark green", "Heart", VT(1,1,1), false) | |
1486 | local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "455268550", "", VT(0.005,0.005,0.005), VT(0,0,0)) | |
1487 | CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1488 | local ECH = 0 | |
1489 | CreateSound("1233610974", Head, 10, 0.8) | |
1490 | for i=0, 8, 0.1 / Animation_Speed do | |
1491 | Swait() | |
1492 | end | |
1493 | WELD:remove() | |
1494 | end | |
1495 | UNANCHOR = true | |
1496 | ATTACK = false | |
1497 | Rooted = false | |
1498 | end | |
1499 | ||
1500 | function Morning_Star() | |
1501 | ATTACK = true | |
1502 | Rooted = true | |
1503 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 30, 1, false) | |
1504 | for i=0, 1, 0.1 / Animation_Speed do | |
1505 | Swait() | |
1506 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1507 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1508 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1509 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1510 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1511 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1512 | end | |
1513 | coroutine.resume(coroutine.create(function() | |
1514 | local POS = Mouse.Hit.p | |
1515 | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Dark red", "Strike", VT(0,2000,0)) | |
1516 | MakeForm(RAY,"Cyl") | |
1517 | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Dark red", "Strike", VT(0,0,0)) | |
1518 | MakeForm(SPHERE,"Ball") | |
1519 | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Dark red", "Strike", VT(0,0,0)) | |
1520 | MakeForm(SHIELD,"Ball") | |
1521 | SHIELD.CFrame = CF(POS) | |
1522 | RAY.CFrame = CF(POS) | |
1523 | SPHERE.CFrame = CF(POS) | |
1524 | CreateSound(440145570, SPHERE, 10, 0.8, false) | |
1525 | CreateSound(415700134, SPHERE, 10, 0.8, false) | |
1526 | for i = 1, 200 do | |
1527 | Swait() | |
1528 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1529 | RAY.Size = RAY.Size + VT(0.05,0,0.05) | |
1530 | SPHERE.Size = SPHERE.Size + VT(2,2,2) | |
1531 | SHIELD.Size = SPHERE.Size + VT(3,3,3) | |
1532 | ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) | |
1533 | end | |
1534 | for i = 1, 45 do | |
1535 | Swait() | |
1536 | RAY.Transparency = RAY.Transparency + 1/45 | |
1537 | SPHERE.Transparency = RAY.Transparency | |
1538 | SHIELD.Transparency = SPHERE.Transparency + 1/45 | |
1539 | end | |
1540 | RAY:remove() | |
1541 | SHIELD:remove() | |
1542 | SPHERE:remove() | |
1543 | end)) | |
1544 | for i=0, 1, 0.1 / Animation_Speed do | |
1545 | Swait() | |
1546 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1547 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1548 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1549 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1550 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1551 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1552 | end | |
1553 | ATTACK = false | |
1554 | Rooted = false | |
1555 | end | |
1556 | ||
1557 | function Taunt3() | |
1558 | ATTACK = true | |
1559 | Rooted = true | |
1560 | local TAUNT = CreateSound(189035671, Torso, 7, 1, false) | |
1561 | repeat | |
1562 | Swait() | |
1563 | TAUNT.Parent = Torso | |
1564 | TAUNT.Playing = true | |
1565 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1566 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
1567 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1568 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1569 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1570 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1571 | until TAUNT.TimePosition >= 1.25 | |
1572 | for i=0, 1.6, 0.1 / Animation_Speed do | |
1573 | Swait() | |
1574 | TAUNT.Parent = Torso | |
1575 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed) | |
1576 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
1577 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1578 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1579 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1580 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1581 | end | |
1582 | ATTACK = false | |
1583 | Rooted = false | |
1584 | end | |
1585 | ||
1586 | function Taunt4() | |
1587 | ATTACK = true | |
1588 | Rooted = true | |
1589 | local TAUNT = CreateSound(189035763,Torso,10,1,false) | |
1590 | coroutine.resume(coroutine.create(function() | |
1591 | repeat | |
1592 | Swait() | |
1593 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1594 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1595 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1596 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1597 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1598 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1599 | until ATTACK == false | |
1600 | end)) | |
1601 | repeat wait() until TAUNT.Playing == false | |
1602 | ATTACK = false | |
1603 | Rooted = false | |
1604 | end | |
1605 | ||
1606 | function Taunt2() | |
1607 | ATTACK = true | |
1608 | local LAUGH = nil | |
1609 | coroutine.resume(coroutine.create(function() | |
1610 | repeat | |
1611 | Swait() | |
1612 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1613 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1614 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1615 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1616 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1617 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1618 | until LAUGH ~= nil | |
1619 | repeat | |
1620 | Swait() | |
1621 | LAUGH.Parent = Head | |
1622 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1623 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1624 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1625 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1626 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1627 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1628 | until LAUGH.Playing == false | |
1629 | ATTACK = false | |
1630 | end)) | |
1631 | wait(0.1) | |
1632 | sick:Pause() | |
1633 | LAUGH = CreateSound(189035728, Head, 10, 1, false) | |
1634 | wait(1) | |
1635 | sick:Resume() | |
1636 | end | |
1637 | ||
1638 | function TakeOnMe() | |
1639 | Speed = 5 | |
1640 | local MEME = CreateSound(849739067, Effects, 5, 1, false) | |
1641 | ATTACK = true | |
1642 | Rooted = false | |
1643 | local DANCE = true | |
1644 | local KEY = Mouse.KeyDown:connect(function(NEWKEY) | |
1645 | if NEWKEY == "p" then | |
1646 | DANCE = false | |
1647 | end | |
1648 | end) | |
1649 | PLAYSONG = false | |
1650 | while true do | |
1651 | for i = 1, 15 do | |
1652 | Swait() | |
1653 | MEME.Parent = Effects | |
1654 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1655 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1656 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1657 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1658 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1659 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1660 | end | |
1661 | if DANCE == false then | |
1662 | break | |
1663 | end | |
1664 | for i = 1, 15 do | |
1665 | Swait() | |
1666 | MEME.Parent = Effects | |
1667 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1668 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1669 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1670 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1671 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1672 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1673 | end | |
1674 | end | |
1675 | PLAYSONG = true | |
1676 | KEY:Disconnect() | |
1677 | MEME:remove() | |
1678 | Speed = 25 | |
1679 | ATTACK = false | |
1680 | Rooted = false | |
1681 | end | |
1682 | ||
1683 | function Taunt6() | |
1684 | ATTACK = true | |
1685 | local LAUGH = nil | |
1686 | coroutine.resume(coroutine.create(function() | |
1687 | repeat | |
1688 | Swait() | |
1689 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1690 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1691 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1692 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1693 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1694 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1695 | until LAUGH ~= nil | |
1696 | repeat | |
1697 | Swait() | |
1698 | LAUGH.Parent = Head | |
1699 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1700 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1701 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1702 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1703 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1704 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1705 | until LAUGH.Playing == false | |
1706 | ATTACK = false | |
1707 | end)) | |
1708 | wait(0.1) | |
1709 | sick:Pause() | |
1710 | LAUGH = CreateSound(189035381, Head, 10, 1, false) | |
1711 | wait(1) | |
1712 | sick:Resume() | |
1713 | end | |
1714 | ||
1715 | function Taunt5() | |
1716 | ATTACK = true | |
1717 | local LAUGH = nil | |
1718 | coroutine.resume(coroutine.create(function() | |
1719 | repeat | |
1720 | Swait() | |
1721 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1722 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1723 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1724 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1725 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1726 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1727 | until LAUGH ~= nil | |
1728 | repeat | |
1729 | Swait() | |
1730 | LAUGH.Parent = Head | |
1731 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1732 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1733 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1734 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1735 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1736 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1737 | until LAUGH.Playing == false | |
1738 | ATTACK = false | |
1739 | end)) | |
1740 | wait(0.1) | |
1741 | sick:Pause() | |
1742 | LAUGH = CreateSound(189035323, Head, 10, 1, false) | |
1743 | wait(1) | |
1744 | sick:Resume() | |
1745 | end | |
1746 | ||
1747 | function Taunt() | |
1748 | ATTACK = true | |
1749 | Rooted = false | |
1750 | TAUNT = true | |
1751 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1752 | Swait() | |
1753 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1754 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1755 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5), RAD(55 - 2.5)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1756 | end | |
1757 | for i=0, 3, 0.1 / Animation_Speed do | |
1758 | Swait() | |
1759 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1760 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1761 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5), RAD(55 - 2.5)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1762 | end | |
1763 | CreateSound(363808674, Torso, 10, 1.3) | |
1764 | for i=0, 1, 0.1 / Animation_Speed do | |
1765 | Swait() | |
1766 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-1.75, 0, 0.50) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1767 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.15) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 3/ Animation_Speed) | |
1768 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5), RAD(55 - 2.5)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1769 | end | |
1770 | WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
1771 | CreateSound(189035450, Torso, 10, 1) | |
1772 | for i=0, 0.01, 0.1 / Animation_Speed do | |
1773 | Swait() | |
1774 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1775 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1776 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1777 | end | |
1778 | ATTACK = false | |
1779 | Rooted = false | |
1780 | TAUNT = false | |
1781 | end | |
1782 | ||
1783 | function AttackTemplate() | |
1784 | ATTACK = true | |
1785 | Rooted = false | |
1786 | for i=0, 1, 0.1 / Animation_Speed do | |
1787 | Swait() | |
1788 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1789 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1790 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1791 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1792 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1793 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1794 | end | |
1795 | ATTACK = false | |
1796 | Rooted = false | |
1797 | end | |
1798 | ||
1799 | function DeathAgreement() | |
1800 | ATTACK = true | |
1801 | Rooted = false | |
1802 | local SPEED = Speed | |
1803 | Speed = 10 | |
1804 | CreateSound("142772747", RightArm, 10, 1.1) | |
1805 | for i=0, 0, 0.1 / Animation_Speed do | |
1806 | Swait() | |
1807 | turnto(Mouse.Hit.p) | |
1808 | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15)) | |
1809 | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15)) | |
1810 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) | |
1811 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) | |
1812 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1813 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1814 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1815 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1816 | end | |
1817 | for i=0, 0.15, 0.1 / Animation_Speed do | |
1818 | Swait() | |
1819 | turnto(Mouse.Hit.p) | |
1820 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) | |
1821 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) | |
1822 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1823 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1824 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1825 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1826 | end | |
1827 | local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really red", "Punch", VT(50,50,50),false) | |
1828 | PART.CFrame = RootPart.CFrame * CF(0,0,-25) | |
1829 | PART.Shape = "Ball" | |
1830 | local bv = Instance.new("BodyVelocity") | |
1831 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1832 | bv.velocity = RootPart.CFrame.lookVector*600 | |
1833 | bv.Parent = PART | |
1834 | bv.Name = "PROJECTILEVELOCITY" | |
1835 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2.5,0.2,2.5)) | |
1836 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(3,0.2,3)) | |
1837 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2,0.6,2)) | |
1838 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(2.2,0.6,2.2)) | |
1839 | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) | |
1840 | coroutine.resume(coroutine.create(function() | |
1841 | for i = 1, 10 do | |
1842 | Swait() | |
1843 | PART.Transparency = PART.Transparency + 0.2/10 | |
1844 | PART.Size = PART.Size + VT(5,5,5) | |
1845 | killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame) | |
1846 | end | |
1847 | PART:Destroy() | |
1848 | end)) | |
1849 | for i=0, 1, 0.1 / Animation_Speed do | |
1850 | Swait() | |
1851 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) | |
1852 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) | |
1853 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1854 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1855 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1856 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1857 | end | |
1858 | Speed = SPEED | |
1859 | ATTACK = false | |
1860 | Rooted = false | |
1861 | end | |
1862 | ||
1863 | function GrabTime() | |
1864 | ATTACK = true | |
1865 | Rooted = false | |
1866 | local HASGRABBED = false | |
1867 | local WELD = nil | |
1868 | local TORS = nil | |
1869 | local hitting = FIST.Touched:connect(function(hit) | |
1870 | if hit.Parent:FindFirstChild("Humanoid") then | |
1871 | if hit.Parent.Humanoid.Health ~= 0 then | |
1872 | UNANCHOR = false | |
1873 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1874 | TORS.Anchored = true | |
1875 | TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1876 | WELD = weldBetween(RightArm,TORS) | |
1877 | HASGRABBED = true | |
1878 | Rooted = true | |
1879 | end | |
1880 | end | |
1881 | end) | |
1882 | for i=0, 1, 0.1 / Animation_Speed do | |
1883 | Swait() | |
1884 | if HASGRABBED == true then | |
1885 | break | |
1886 | end | |
1887 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed) | |
1888 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
1889 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1890 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1891 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1892 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1893 | end | |
1894 | hitting:disconnect() | |
1895 | if HASGRABBED == true then | |
1896 | TORS.Anchored = false | |
1897 | RootPart.Anchored = true | |
1898 | for i=0, 2, 0.1 / Animation_Speed do | |
1899 | Swait() | |
1900 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1901 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1902 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1903 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1904 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1905 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1906 | end | |
1907 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5)) | |
1908 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6)) | |
1909 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Sound", VT(0,0,0)) | |
1910 | SOUNDPART.CFrame = RootPart.CFrame | |
1911 | Debris:AddItem(SOUNDPART,5) | |
1912 | CreateSound("872089905", SOUNDPART, 2, 1) | |
1913 | for i = 1, 15 do | |
1914 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15) | |
1915 | end | |
1916 | for i=0, 2, 0.1 / Animation_Speed do | |
1917 | Swait() | |
1918 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1919 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1920 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1921 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1922 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1923 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1924 | end | |
1925 | for i=0, 0.25, 0.1 / Animation_Speed do | |
1926 | Swait() | |
1927 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1928 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1929 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1930 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1931 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1932 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1933 | end | |
1934 | if HITFLOOR ~= nil then | |
1935 | CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85) | |
1936 | end | |
1937 | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) | |
1938 | WELD:remove() | |
1939 | for i = 1, 25 do | |
1940 | Swait() | |
1941 | killnearest(RootPart.Position,45,100,Torso.CFrame) | |
1942 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3)) | |
1943 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Really red",VT(1,0.4,1)) | |
1944 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Really red",VT(2.3,0.3,2.3)) | |
1945 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) | |
1946 | Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Lime green", 1 + MRANDOM(1,30)/15) | |
1947 | end | |
1948 | end | |
1949 | UNANCHOR = true | |
1950 | ATTACK = false | |
1951 | Rooted = false | |
1952 | end | |
1953 | ||
1954 | function MaxSpeed() | |
1955 | local ORIGIN = RootPart.Position | |
1956 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
1957 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) | |
1958 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Sound", VT(0,0,0)) | |
1959 | SOUNDPART.CFrame = RootPart.CFrame | |
1960 | Debris:AddItem(SOUNDPART,5) | |
1961 | CreateSound("142772747", SOUNDPART, 2, 1) | |
1962 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z)) | |
1963 | Swait() | |
1964 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
1965 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) | |
1966 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Sound", VT(0,0,0)) | |
1967 | SOUNDPART.CFrame = RootPart.CFrame | |
1968 | Debris:AddItem(SOUNDPART,5) | |
1969 | CreateSound("414517163", SOUNDPART, 2, 1) | |
1970 | if MRANDOM(1,8) == 1 then | |
1971 | ATTACK = true | |
1972 | Rooted = true | |
1973 | local FRUITSTABLE = { | |
1974 | {MeshId = "16190555", TextureId = "16190577", Color = "Really red"}, | |
1975 | {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"}, | |
1976 | {MeshId = "24394186", TextureId = "24394178", Color = "Brown"} | |
1977 | } | |
1978 | local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)] | |
1979 | local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false) | |
1980 | CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0)) | |
1981 | FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0) | |
1982 | weldBetween(RightArm,FRUITMODEL) | |
1983 | for i=0, 4, 0.1 / Animation_Speed do | |
1984 | Swait() | |
1985 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1986 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1987 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1988 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1989 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1990 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1991 | end | |
1992 | CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10) | |
1993 | FRUITMODEL:remove() | |
1994 | for i = 1, 15 do | |
1995 | Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15) | |
1996 | end | |
1997 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1998 | Swait() | |
1999 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2000 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2001 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2002 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2003 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2004 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2005 | end | |
2006 | ATTACK = false | |
2007 | Rooted = false | |
2008 | end | |
2009 | end | |
2010 | ||
2011 | function GreenUltimate() | |
2012 | ATTACK = true | |
2013 | Rooted = true | |
2014 | CreateSound("189035504", RightArm, 10, 0.8) | |
2015 | for i=0, 8, 0.1 / Animation_Speed do | |
2016 | Swait() | |
2017 | turnto(Mouse.Hit.p) | |
2018 | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Really red",VT(0.2,0,0.2)) | |
2019 | Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1.1) | |
2020 | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0) | |
2021 | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Lime green",VT(0.001,0.001,2),0) | |
2022 | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15)) | |
2023 | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15)) | |
2024 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) | |
2025 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) | |
2026 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
2027 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2028 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2029 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2030 | end | |
2031 | for i=0, 0.15, 0.1 / Animation_Speed do | |
2032 | Swait() | |
2033 | turnto(Mouse.Hit.p) | |
2034 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) | |
2035 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) | |
2036 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2037 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2038 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2039 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2040 | end | |
2041 | MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Really red",VT(-0.04,-0.04,-0.04)) | |
2042 | MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035)) | |
2043 | coroutine.resume(coroutine.create(function() | |
2044 | Swait(100) | |
2045 | for i = 1, 5 do | |
2046 | MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Really red",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i)))) | |
2047 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4.5*i,0.2,4.5*i)) | |
2048 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5*i,0.2,5*i)) | |
2049 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4*i,0.6,4*i)) | |
2050 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5.2*i,0.6,5.2*i)) | |
2051 | end | |
2052 | killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame) | |
2053 | for i = 1, 5 do | |
2054 | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) | |
2055 | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) | |
2056 | end | |
2057 | coroutine.resume(coroutine.create(function() | |
2058 | for i = 1, 50 do | |
2059 | Swait() | |
2060 | for i = 1, 1 do | |
2061 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) | |
2062 | end | |
2063 | for i = 1, 2 do | |
2064 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/3) | |
2065 | end | |
2066 | end | |
2067 | end)) | |
2068 | end)) | |
2069 | for i=0, 4, 0.1 / Animation_Speed do | |
2070 | Swait() | |
2071 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) | |
2072 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) | |
2073 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
2074 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
2075 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) | |
2076 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) | |
2077 | end | |
2078 | ATTACK = false | |
2079 | Rooted = false | |
2080 | end | |
2081 | ||
2082 | --//=================================\\ | |
2083 | --|| ASSIGN THINGS TO KEYS | |
2084 | --\\=================================// | |
2085 | ||
2086 | function MouseDown(Mouse) | |
2087 | if ATTACK == false then | |
2088 | end | |
2089 | end | |
2090 | ||
2091 | function MouseUp(Mouse) | |
2092 | HOLD = false | |
2093 | end | |
2094 | ||
2095 | function KeyDown(Key) | |
2096 | KEYHOLD = true | |
2097 | if Key == "z" and ATTACK == false then | |
2098 | DeathAgreement() | |
2099 | end | |
2100 | ||
2101 | if Key == "b" and ATTACK == false then | |
2102 | GrabTime() | |
2103 | end | |
2104 | ||
2105 | if Key == "k" and ATTACK == false then | |
2106 | kiss() | |
2107 | end | |
2108 | ||
2109 | if Key == "t" and ATTACK == false then | |
2110 | Taunt() | |
2111 | end | |
2112 | ||
2113 | if Key == "r" and ATTACK == false then | |
2114 | Taunt6() | |
2115 | end | |
2116 | ||
2117 | if Key == "h" and ATTACK == false then | |
2118 | Taunt5() | |
2119 | end | |
2120 | ||
2121 | if Key == "p" and ATTACK == false then | |
2122 | TakeOnMe() | |
2123 | end | |
2124 | ||
2125 | if Key == "f" and ATTACK == false then | |
2126 | Taunt2() | |
2127 | end | |
2128 | ||
2129 | if Key == "c" and ATTACK == false then | |
2130 | MaxSpeed() | |
2131 | end | |
2132 | ||
2133 | if Key == "q" and ATTACK == false then | |
2134 | Taunt4() | |
2135 | end | |
2136 | ||
2137 | if Key == "e" and ATTACK == false then | |
2138 | Taunt3() | |
2139 | end | |
2140 | ||
2141 | if Key == "v" and ATTACK == false then | |
2142 | Morning_Star() | |
2143 | end | |
2144 | ||
2145 | if Key == "x" and ATTACK == false then | |
2146 | GreenUltimate() | |
2147 | end | |
2148 | ||
2149 | if Key == "g" and ATTACK == false then | |
2150 | Chain() | |
2151 | end | |
2152 | ||
2153 | if Key == "p" and ATTACK == false then | |
2154 | if Speed == 16 then | |
2155 | Speed = 150 | |
2156 | elseif Speed == 150 then | |
2157 | Speed = 16 | |
2158 | end | |
2159 | end | |
2160 | end | |
2161 | ||
2162 | function KeyUp(Key) | |
2163 | KEYHOLD = false | |
2164 | end | |
2165 | ||
2166 | Mouse.Button1Down:connect(function(NEWKEY) | |
2167 | MouseDown(NEWKEY) | |
2168 | end) | |
2169 | Mouse.Button1Up:connect(function(NEWKEY) | |
2170 | MouseUp(NEWKEY) | |
2171 | end) | |
2172 | Mouse.KeyDown:connect(function(NEWKEY) | |
2173 | KeyDown(NEWKEY) | |
2174 | end) | |
2175 | Mouse.KeyUp:connect(function(NEWKEY) | |
2176 | KeyUp(NEWKEY) | |
2177 | end) | |
2178 | ||
2179 | --//=================================\\ | |
2180 | --\\=================================// | |
2181 | ||
2182 | ||
2183 | function unanchor() | |
2184 | if UNANCHOR == true then | |
2185 | g = Character:GetChildren() | |
2186 | for i = 1, #g do | |
2187 | if g[i].ClassName == "Part" then | |
2188 | g[i].Anchored = false | |
2189 | end | |
2190 | end | |
2191 | end | |
2192 | end | |
2193 | ||
2194 | ||
2195 | --//=================================\\ | |
2196 | --|| WRAP THE WHOLE SCRIPT UP | |
2197 | --\\=================================// | |
2198 | ||
2199 | Humanoid.Changed:connect(function(Jump) | |
2200 | if Jump == "Jump" and (Disable_Jump == true) then | |
2201 | Humanoid.Jump = false | |
2202 | end | |
2203 | end) | |
2204 | ||
2205 | while true do | |
2206 | Swait() | |
2207 | refit() | |
2208 | script.Parent = WEAPONGUI | |
2209 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2210 | v:Stop(); | |
2211 | end | |
2212 | ANIMATE.Parent = nil | |
2213 | SINE = SINE + CHANGE*1.5 | |
2214 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2215 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2216 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
2217 | local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16) | |
2218 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2219 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2220 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2221 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2222 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2223 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2224 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2225 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2226 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2227 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2228 | end | |
2229 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2230 | ANIM = "Jump" | |
2231 | if ATTACK == false then | |
2232 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2233 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2234 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2235 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2236 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
2237 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed) | |
2238 | end | |
2239 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2240 | ANIM = "Fall" | |
2241 | if ATTACK == false then | |
2242 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2243 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2244 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2245 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2246 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
2247 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
2248 | end | |
2249 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2250 | ANIM = "Idle" | |
2251 | if ATTACK == false then | |
2252 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
2253 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2254 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2255 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(15 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2256 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2257 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2258 | end | |
2259 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2260 | ANIM = "Walk" | |
2261 | if ATTACK == false then | |
2262 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2263 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed) | |
2264 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2265 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2266 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2267 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2268 | end | |
2269 | end | |
2270 | unanchor() | |
2271 | Humanoid.MaxHealth = "inf" | |
2272 | Humanoid.Health = "inf" | |
2273 | if Rooted == false then | |
2274 | Disable_Jump = false | |
2275 | Humanoid.WalkSpeed = Speed | |
2276 | elseif Rooted == true then | |
2277 | Disable_Jump = true | |
2278 | Humanoid.WalkSpeed = 0 | |
2279 | end | |
2280 | for _, c in pairs(Character:GetChildren()) do | |
2281 | if c.ClassName == "Part" and c.Name ~= "Detail" then | |
2282 | c.Material = "Fabric" | |
2283 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2284 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2285 | end | |
2286 | if c ~= Head then | |
2287 | c.Color = C3(0,0,0) | |
2288 | else | |
2289 | c.Color = C3(1,1,1) | |
2290 | end | |
2291 | if c == Head then | |
2292 | if c:FindFirstChild("face") then | |
2293 | c.face:remove() | |
2294 | end | |
2295 | end | |
2296 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
2297 | c:remove() | |
2298 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
2299 | c:remove() | |
2300 | end | |
2301 | end | |
2302 | sick.SoundId = "rbxassetid://1369580230" | |
2303 | sick.Looped = true | |
2304 | sick.Pitch = 1 | |
2305 | sick.Volume = 2 | |
2306 | sick.Parent = Torso | |
2307 | sick:Resume() | |
2308 | sick.Playing = true | |
2309 | Humanoid.Name = "Plague Doctor" | |
2310 | ||
2311 | end | |
2312 | ||
2313 | --//=================================\\ | |
2314 | --\\=================================// | |
2315 | ||
2316 | ||
2317 | ||
2318 | ||
2319 | ||
2320 | --//====================================================\\-- | |
2321 | --|| END OF SCRIPT | |
2322 | --\\====================================================//-- |