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