SHOW:
|
|
- or go back to the newest paste.
1 | --------------- | |
2 | --Jester Done (I think)-- | |
3 | ---------------------------------------------------------------- | |
4 | print([[ | |
5 | --made by Makhail07 | |
6 | --FE code by Mokiros | |
7 | --Edited by ozzak1003 and then by 1nd1k -- | |
8 | --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A-- | |
9 | --Discord: ozzak1003#3275 | |
10 | -------------------------------- | |
11 | hello good sir | |
12 | Don't leak pls | |
13 | Enjoy ;) | |
14 | -------------------------------- | |
15 | ]]) | |
16 | ||
17 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
18 | local Player,game,owner = owner,game | |
19 | local RealPlayer = Player | |
20 | do | |
21 | local rp = RealPlayer | |
22 | script.Parent = rp.Character | |
23 | ||
24 | --RemoteEvent for communicating | |
25 | local Event = Instance.new("RemoteEvent") | |
26 | Event.Name = "UserInput_Event" | |
27 | ||
28 | --Fake event to make stuff like Mouse.KeyDown work | |
29 | local function fakeEvent() | |
30 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
31 | t.connect = t.Connect | |
32 | return t | |
33 | end | |
34 | ||
35 | --Creating fake input objects with fake variables | |
36 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
37 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
38 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
39 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
40 | end} | |
41 | --Merged 2 functions into one by checking amount of arguments | |
42 | CAS.UnbindAction = CAS.BindAction | |
43 | ||
44 | --This function will trigger the events that have been :Connect()'ed | |
45 | local function te(self,ev,...) | |
46 | local t = m[ev] | |
47 | if t and t._fakeEvent then | |
48 | for _,f in pairs(t.Functions) do | |
49 | f(...) | |
50 | end | |
51 | end | |
52 | end | |
53 | m.TrigEvent = te | |
54 | UIS.TrigEvent = te | |
55 | ||
56 | Event.OnServerEvent:Connect(function(plr,io) | |
57 | if plr~=rp then return end | |
58 | m.Target = io.Target | |
59 | m.Hit = io.Hit | |
60 | if not io.isMouse then | |
61 | local b = io.UserInputState == Enum.UserInputState.Begin | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
63 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[ | |
77 | local Player = game:GetService("Players").LocalPlayer | |
78 | local Event = script:WaitForChild("UserInput_Event") | |
79 | ||
80 | local Mouse = Player:GetMouse() | |
81 | local UIS = game:GetService("UserInputService") | |
82 | local input = function(io,a) | |
83 | if a then return end | |
84 | --Since InputObject is a client-side instance, we create and pass table instead | |
85 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
86 | end | |
87 | UIS.InputBegan:Connect(input) | |
88 | UIS.InputEnded:Connect(input) | |
89 | ||
90 | local h,t | |
91 | --Give the server mouse data 30 times every second, but only if the values changed | |
92 | --If player is not moving their mouse, client won't fire events | |
93 | while wait(1/30) do | |
94 | if h~=Mouse.Hit or t~=Mouse.Target then | |
95 | h,t=Mouse.Hit,Mouse.Target | |
96 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
97 | end | |
98 | end]==],Player.Character) | |
99 | ||
100 | ----Sandboxed game object that allows the usage of client-side methods and services | |
101 | --Real game object | |
102 | local _rg = game | |
103 | ||
104 | --Metatable for fake service | |
105 | local fsmt = { | |
106 | __index = function(self,k) | |
107 | local s = rawget(self,"_RealService") | |
108 | if s then return s[k] end | |
109 | end, | |
110 | __newindex = function(self,k,v) | |
111 | local s = rawget(self,"_RealService") | |
112 | if s then s[k]=v end | |
113 | end, | |
114 | __call = function(self,...) | |
115 | local s = rawget(self,"_RealService") | |
116 | if s then return s(...) end | |
117 | end | |
118 | } | |
119 | local function FakeService(t,RealService) | |
120 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
121 | return setmetatable(t,fsmt) | |
122 | end | |
123 | ||
124 | --Fake game object | |
125 | local g = { | |
126 | GetService = function(self,s) | |
127 | return self[s] | |
128 | end, | |
129 | Players = FakeService({ | |
130 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
131 | },"Players"), | |
132 | UserInputService = FakeService(UIS,"UserInputService"), | |
133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
134 | } | |
135 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
136 | g.service = g.GetService | |
137 | ||
138 | g.RunService = FakeService({ | |
139 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
140 | BindToRenderStep = function(self,name,_,fun) | |
141 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
142 | end, | |
143 | UnbindFromRenderStep = function(self,name) | |
144 | self._btrs[name]:Disconnect() | |
145 | end, | |
146 | },"RunService") | |
147 | ||
148 | setmetatable(g,{ | |
149 | __index=function(self,s) | |
150 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
151 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
152 | end, | |
153 | __newindex = fsmt.__newindex, | |
154 | __call = fsmt.__call | |
155 | }) | |
156 | --Changing owner to fake player object to support owner:GetMouse() | |
157 | game,owner = g,g.Players.LocalPlayer | |
158 | end | |
159 | ||
160 | Player = owner | |
161 | PlayerGui = Player.PlayerGui | |
162 | Cam = workspace.CurrentCamera | |
163 | Backpack = Player.Backpack | |
164 | Character = Player.Character | |
165 | Humanoid = Character.Humanoid | |
166 | Mouse = Player:GetMouse() | |
167 | RootPart = Character["HumanoidRootPart"] | |
168 | Torso = Character["Torso"] | |
169 | Head = Character["Head"] | |
170 | RightArm = Character["Right Arm"] | |
171 | LeftArm = Character["Left Arm"] | |
172 | RightLeg = Character["Right Leg"] | |
173 | LeftLeg = Character["Left Leg"] | |
174 | RootJoint = RootPart["RootJoint"] | |
175 | Neck = Torso["Neck"] | |
176 | RightShoulder = Torso["Right Shoulder"] | |
177 | LeftShoulder = Torso["Left Shoulder"] | |
178 | RightHip = Torso["Right Hip"] | |
179 | LeftHip = Torso["Left Hip"] | |
180 | ||
181 | Character = Player.Character | |
182 | Humanoid = Character.Humanoid | |
183 | ||
184 | --------- | |
185 | plr = game.Players.LocalPlayer | |
186 | chara = plr.Character | |
187 | mouse = plr:GetMouse() | |
188 | Create = Instance.new | |
189 | Huge = math.huge | |
190 | ||
191 | ||
192 | local shadowhead = Create("Part",chara.Head) | |
193 | shadowhead.BrickColor = BrickColor.new("Black") | |
194 | shadowhead.Size = Vector3.new(1.2, 0.6, 1) | |
195 | shadowhead.CanCollide = false | |
196 | local shadowheadmesh = Create("SpecialMesh",shadowhead) | |
197 | shadowheadmesh.MeshType = "Head" | |
198 | shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26) | |
199 | local weld2 = Create("Weld",shadowhead) | |
200 | weld2.Part0 = shadowhead | |
201 | weld2.Part1 = chara.Head | |
202 | weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
203 | function New(Object, Parent, Name, Data) | |
204 | local Object = Instance.new(Object) | |
205 | for Index, Value in pairs(Data or {}) do | |
206 | Object[Index] = Value | |
207 | end | |
208 | Object.Parent = Parent | |
209 | Object.Name = Name | |
210 | return Object | |
211 | end | |
212 | local halocolor = BrickColor.new("Pastel light blue") | |
213 | local halocolor2 = BrickColor.new("Really black") | |
214 | local starcolor = BrickColor.new("Really black") | |
215 | local lunacolor = BrickColor.new("Navy blue") | |
216 | local lunacolor2 = BrickColor.new("Bright blue") | |
217 | local wepcolor = BrickColor.new("Really black") | |
218 | local maincolor = BrickColor.new("Really black") | |
219 | local m = Instance.new("Model", char) | |
220 | local m2 = Instance.new("Model", char) | |
221 | local m3 = Instance.new("Model", char) | |
222 | local mw1 = Instance.new("Model", char) | |
223 | local mw2 = Instance.new("Model", char) | |
224 | local extrawingmod1 = Instance.new("Model", char) | |
225 | local extrawingmod2 = Instance.new("Model", char) | |
226 | ||
227 | function CreateParta(parent, transparency, reflectance, material, brickcolor) | |
228 | local p = Instance.new("Part") | |
229 | p.TopSurface = 0 | |
230 | p.BottomSurface = 0 | |
231 | p.Parent = parent | |
232 | p.Size = Vector3.new(0.1, 0.1, 0.1) | |
233 | p.Transparency = transparency | |
234 | p.Reflectance = reflectance | |
235 | p.CanCollide = false | |
236 | p.Locked = true | |
237 | p.BrickColor = brickcolor | |
238 | p.Material = material | |
239 | return p | |
240 | end | |
241 | function CreateMesh(parent, meshtype, x1, y1, z1) | |
242 | local mesh = Instance.new("SpecialMesh", parent) | |
243 | mesh.MeshType = meshtype | |
244 | mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10) | |
245 | return mesh | |
246 | end | |
247 | function CreateSpecialMesh(parent, meshid, x1, y1, z1) | |
248 | local mesh = Instance.new("SpecialMesh", parent) | |
249 | mesh.MeshType = "FileMesh" | |
250 | mesh.MeshId = meshid | |
251 | mesh.Scale = Vector3.new(x1, y1, z1) | |
252 | return mesh | |
253 | end | |
254 | function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1) | |
255 | local mesh = Instance.new("SpecialMesh", parent) | |
256 | mesh.MeshType = "FileMesh" | |
257 | mesh.MeshId = meshid | |
258 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
259 | mesh.Scale = Vector3.new(x1, y1, z1) | |
260 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
261 | return mesh | |
262 | end | |
263 | function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za) | |
264 | local weld = Instance.new("Weld") | |
265 | weld.Parent = parent | |
266 | weld.Part0 = part0 | |
267 | weld.Part1 = part1 | |
268 | weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za) | |
269 | weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za) | |
270 | return weld | |
271 | end | |
272 | local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor) | |
273 | CreateMesh(handle, "Brick", 0, 0, 0) | |
274 | local handlexweld = CreateWeld(handlex, tors, handlex, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
275 | local valuaring = 10 | |
276 | for i = 0, 49 do | |
277 | valuaring = valuaring + 10 | |
278 | rn = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
279 | CreateMesh(rn, "Brick", 0.25, 0.1, 0.1) | |
280 | CreateWeld(rn, handlex, rn, 0, 1, 0, math.rad(0), math.rad(0), math.rad(valuaring), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
281 | end | |
282 | local handle = CreateParta(m, 1, 1, "Neon", maincolor) | |
283 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
284 | local handleweld = CreateWeld(handle, tors, handle, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
285 | local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor) | |
286 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
287 | local lwing1weld = CreateWeld(lwing1, handle, lwing1, 3, 0, 0, math.rad(5), math.rad(0), math.rad(12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
288 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
289 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
290 | CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
291 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
292 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
293 | CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
294 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
295 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
296 | CreateWeld(wed, lwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
297 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
298 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
299 | CreateWeld(wed, lwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
300 | local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor) | |
301 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
302 | local lwing2weld = CreateWeld(lwing2, handle, lwing2, 4, 1, 0, math.rad(10), math.rad(0), math.rad(25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
303 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
304 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
305 | CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
306 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
307 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
308 | CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
309 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
310 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
311 | CreateWeld(wed, lwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
312 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
313 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
314 | CreateWeld(wed, lwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
315 | local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor) | |
316 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
317 | local lwing3weld = CreateWeld(lwing3, handle, lwing3, 4.75, 2, 0, math.rad(15), math.rad(0), math.rad(37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
318 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
319 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
320 | CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
321 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
322 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
323 | CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
324 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
325 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
326 | CreateWeld(wed, lwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
327 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
328 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
329 | CreateWeld(wed, lwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
330 | local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor) | |
331 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
332 | local lwing4weld = CreateWeld(lwing4, handle, lwing4, 5.75, 3, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
333 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
334 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
335 | CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
336 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
337 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
338 | CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
339 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
340 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
341 | CreateWeld(wed, lwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
342 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
343 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
344 | CreateWeld(wed, lwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
345 | local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor) | |
346 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
347 | local lwing5weld = CreateWeld(lwing5, handle, lwing5, 6.75, 4, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
348 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
349 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
350 | CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
351 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
352 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
353 | CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
354 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
355 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
356 | CreateWeld(wed, lwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
357 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
358 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
359 | CreateWeld(wed, lwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
360 | local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor) | |
361 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
362 | local lwing6weld = CreateWeld(lwing6, handle, lwing6, 7.75, 5, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
363 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
364 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
365 | CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
366 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
367 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
368 | CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
369 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
370 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
371 | CreateWeld(wed, lwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
372 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
373 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
374 | CreateWeld(wed, lwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
375 | local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor) | |
376 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
377 | local rwing1weld = CreateWeld(rwing1, handle, rwing1, -3, 0, 0, math.rad(5), math.rad(0), math.rad(-12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
378 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
379 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
380 | CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
381 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
382 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
383 | CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
384 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
385 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
386 | CreateWeld(wed, rwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
387 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
388 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
389 | CreateWeld(wed, rwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
390 | local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor) | |
391 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
392 | local rwing2weld = CreateWeld(rwing2, handle, rwing2, -4, 1, 0, math.rad(10), math.rad(0), math.rad(-25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
393 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
394 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
395 | CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
396 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
397 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
398 | CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
399 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
400 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
401 | CreateWeld(wed, rwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
402 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
403 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
404 | CreateWeld(wed, rwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
405 | local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor) | |
406 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
407 | local rwing3weld = CreateWeld(rwing3, handle, rwing3, -4.75, 2, 0, math.rad(15), math.rad(0), math.rad(-37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
408 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
409 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
410 | CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
411 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
412 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
413 | CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
414 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
415 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
416 | CreateWeld(wed, rwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
417 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
418 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
419 | CreateWeld(wed, rwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
420 | local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor) | |
421 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
422 | local rwing4weld = CreateWeld(rwing4, handle, rwing4, -5.75, 3, 0, math.rad(20), math.rad(0), math.rad(-50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
423 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
424 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
425 | CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
426 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
427 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
428 | CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
429 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
430 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
431 | CreateWeld(wed, rwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
432 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
433 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
434 | CreateWeld(wed, rwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
435 | local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor) | |
436 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
437 | local rwing5weld = CreateWeld(rwing5, handle, rwing5, -6.75, 4, 0, math.rad(25), math.rad(0), math.rad(-62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
438 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
439 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
440 | CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
441 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
442 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
443 | CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
444 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
445 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
446 | CreateWeld(wed, rwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
447 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
448 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
449 | CreateWeld(wed, rwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
450 | local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor) | |
451 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
452 | local rwing6weld = CreateWeld(rwing6, handle, rwing6, -7.75, 3, 0, math.rad(30), math.rad(0), math.rad(-75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
453 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
454 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
455 | CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
456 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
457 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
458 | CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
459 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
460 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
461 | CreateWeld(wed, rwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
462 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
463 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
464 | CreateWeld(wed, rwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
465 | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) | |
466 | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) | |
467 | CreateWeld(ran, larm, ran, 0, 0.15, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
468 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
469 | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) | |
470 | CreateWeld(ran, larm, ran, 0, 0.155, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
471 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
472 | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) | |
473 | CreateWeld(ran, larm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
474 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
475 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
476 | CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
477 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
478 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
479 | CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
480 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
481 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
482 | CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
483 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
484 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
485 | CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
486 | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) | |
487 | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) | |
488 | CreateWeld(gane, larm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
489 | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
490 | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) | |
491 | CreateWeld(star, larm, star, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
492 | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) | |
493 | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) | |
494 | CreateWeld(starl, larm, starl, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
495 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
496 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
497 | CreateWeld(dotsec, larm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
498 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
499 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
500 | CreateWeld(dotseca, larm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
501 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
502 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
503 | CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
504 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
505 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
506 | CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
507 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
508 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
509 | CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
510 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
511 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
512 | CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
513 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
514 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
515 | CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
516 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
517 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
518 | CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
519 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
520 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
521 | CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
522 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
523 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
524 | CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
525 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
526 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
527 | CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
528 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
529 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
530 | CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
531 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
532 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
533 | CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
534 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
535 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
536 | CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
537 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
538 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
539 | CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
540 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
541 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
542 | CreateWeld(dotsec, larm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
543 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
544 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
545 | CreateWeld(dotseca, larm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
546 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
547 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
548 | CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
549 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
550 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
551 | CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
552 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
553 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
554 | CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
555 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
556 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
557 | CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
558 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
559 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
560 | CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
561 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
562 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
563 | CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
564 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
565 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
566 | CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
567 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
568 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
569 | CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
570 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
571 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
572 | CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
573 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
574 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
575 | CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
576 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
577 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
578 | CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
579 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
580 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
581 | CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
582 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
583 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
584 | CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
585 | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) | |
586 | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) | |
587 | CreateWeld(ran, rarm, ran, 0, 0.15, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
588 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
589 | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) | |
590 | CreateWeld(ran, rarm, ran, 0, 0.155, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
591 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
592 | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) | |
593 | CreateWeld(ran, rarm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
594 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
595 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
596 | CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
597 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
598 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
599 | CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
600 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
601 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
602 | CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
603 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
604 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
605 | CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
606 | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) | |
607 | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) | |
608 | CreateWeld(gane, rarm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
609 | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
610 | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) | |
611 | CreateWeld(star, rarm, star, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
612 | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) | |
613 | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) | |
614 | CreateWeld(starl, rarm, starl, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
615 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
616 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
617 | CreateWeld(dotsec, rarm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
618 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
619 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
620 | CreateWeld(dotseca, rarm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
621 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
622 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
623 | CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
624 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
625 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
626 | CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
627 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
628 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
629 | CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
630 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
631 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
632 | CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
633 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
634 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
635 | CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
636 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
637 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
638 | CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
639 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
640 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
641 | CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
642 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
643 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
644 | CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
645 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
646 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
647 | CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
648 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
649 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
650 | CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
651 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
652 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
653 | CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
654 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
655 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
656 | CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
657 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
658 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
659 | CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
660 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
661 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
662 | CreateWeld(dotsec, rarm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
663 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
664 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
665 | CreateWeld(dotseca, rarm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
666 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
667 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
668 | CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
669 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
670 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
671 | CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
672 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
673 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
674 | CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
675 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
676 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
677 | CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
678 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
679 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
680 | CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
681 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
682 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
683 | CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
684 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
685 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
686 | CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
687 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
688 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
689 | CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
690 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
691 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
692 | CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
693 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
694 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
695 | CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
696 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
697 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
698 | CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
699 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
700 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
701 | CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
702 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
703 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
704 | CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
705 | for i, v in pairs(m:GetChildren()) do | |
706 | if v:IsA("Part") then | |
707 | v.BrickColor = BrickColor.new("Really black") | |
708 | v.Material = "Glass" | |
709 | end | |
710 | end | |
711 | for i, v in pairs(m2:GetChildren()) do | |
712 | if v:IsA("Part") then | |
713 | v.BrickColor = BrickColor.new("Crimson") | |
714 | v.Material = "Granite" | |
715 | end | |
716 | end | |
717 | for i, v in pairs(m3:GetChildren()) do | |
718 | if v:IsA("Part") then | |
719 | v.BrickColor = BrickColor.new("Really red") | |
720 | v.Material = "Neon" | |
721 | end | |
722 | end | |
723 | for i, v in pairs(mw2:GetChildren()) do | |
724 | if v:IsA("Part") then | |
725 | v.BrickColor = BrickColor.new("Really red") | |
726 | v.Material = "Neon" | |
727 | end | |
728 | end | |
729 | for i, v in pairs(mw1:GetChildren()) do | |
730 | if v:IsA("Part") then | |
731 | v.Transparency = 1 | |
732 | v.BrickColor = BrickColor.new("Really red") | |
733 | v.Material = "Neon" | |
734 | end | |
735 | end | |
736 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
737 | if v:IsA("Part") then | |
738 | v.Transparency = 1 | |
739 | v.BrickColor = BrickColor.new("White") | |
740 | v.Material = "Neon" | |
741 | end | |
742 | end | |
743 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
744 | if v:IsA("Part") then | |
745 | v.Transparency = 1 | |
746 | v.BrickColor = BrickColor.new("White") | |
747 | v.Material = "Neon" | |
748 | end | |
749 | end | |
750 | ||
751 | Player = game:GetService("Players").LocalPlayer | |
752 | PlayerGui = Player.PlayerGui | |
753 | Cam = workspace.CurrentCamera | |
754 | Backpack = Player.Backpack | |
755 | Character = Player.Character | |
756 | char = Player.Character | |
757 | Humanoid = Character.Humanoid | |
758 | Mouse = Player:GetMouse() | |
759 | RootPart = Character["HumanoidRootPart"] | |
760 | Torso = Character["Torso"] | |
761 | Head = Character["Head"] | |
762 | RightArm = Character["Right Arm"] | |
763 | LeftArm = Character["Left Arm"] | |
764 | RightLeg = Character["Right Leg"] | |
765 | LeftLeg = Character["Left Leg"] | |
766 | RootJoint = RootPart["RootJoint"] | |
767 | Neck = Torso["Neck"] | |
768 | RightShoulder = Torso["Right Shoulder"] | |
769 | LeftShoulder = Torso["Left Shoulder"] | |
770 | RightHip = Torso["Right Hip"] | |
771 | LeftHip = Torso["Left Hip"] | |
772 | ||
773 | local Orin = "http://www.roblox.com/asset/?id=19398554" | |
774 | Head.face.Texture = Orin | |
775 | function weld(a, b, acf) | |
776 | local w = Instance.new("Weld", a) | |
777 | w.Part0 = a | |
778 | w.Part1 = b | |
779 | w.C0 = acf | |
780 | end | |
781 | ||
782 | local righteyebrickcolor = "Really red" | |
783 | local reye = Instance.new("Part", char) | |
784 | reye.CanCollide = false | |
785 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
786 | reye.Material = "Neon" | |
787 | reye.Size = Vector3.new(.25,.35,.25) | |
788 | weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.55), CFrame.new(1,0,0)) | |
789 | m1 = Instance.new("SpecialMesh", reye) | |
790 | m1.MeshType = "Sphere" | |
791 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
792 | reye.Locked = true | |
793 | reye.Name = "re" | |
794 | ||
795 | ||
796 | local righteyebrickcolor = "Really red" | |
797 | local reye = Instance.new("Part", char) | |
798 | reye.CanCollide = false | |
799 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
800 | reye.Material = "Neon" | |
801 | reye.Size = Vector3.new(.25,.35,.15) | |
802 | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
803 | m1 = Instance.new("SpecialMesh", reye) | |
804 | m1.MeshType = "Sphere" | |
805 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
806 | reye.Locked = true | |
807 | reye.Name = "re" | |
808 | -------------------------------- | |
809 | char.Head.face.Texture = "rbxassetid://19398554" | |
810 | -------------------------------- | |
811 | ||
812 | ------------------------------------------------------- | |
813 | ||
814 | local FavIDs = { | |
815 | 340106355, --Nefl Crystals | |
816 | 927529620, --Dimension | |
817 | 876981900, --Fantasy | |
818 | 398987889, --Ordinary Days | |
819 | 1117396305, --Oh wait, it's you. | |
820 | 885996042, --Action Winter Journey | |
821 | 919231299, --Sprawling Idiot Effigy | |
822 | 743466274, --Good Day Sunshine | |
823 | 727411183, --Knife Fight | |
824 | 1402748531, --The Earth Is Counting On You! | |
825 | 595230126 --Robot Language | |
826 | } | |
827 | ||
828 | ||
829 | ||
830 | --The reality of my life isn't real but a Universe -makhail07 | |
831 | wait(0.2) | |
832 | local plr = game:service'Players'.LocalPlayer | |
833 | print('Local User is '..plr.Name) | |
834 | print('SCRIPTNAME Loaded') | |
835 | print('SCRIPT DESCRIPTION') | |
836 | local char = plr.Character | |
837 | local hum = char.Humanoid | |
838 | local hed = char.Head | |
839 | local root = char.HumanoidRootPart | |
840 | local rootj = root.RootJoint | |
841 | local tors = char.Torso | |
842 | local ra = char["Right Arm"] | |
843 | local la = char["Left Arm"] | |
844 | local rl = char["Right Leg"] | |
845 | local ll = char["Left Leg"] | |
846 | local neck = tors["Neck"] | |
847 | local mouse = plr:GetMouse() | |
848 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
849 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
850 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
851 | local maincolor = BrickColor.new("Really red") | |
852 | ||
853 | ------------------------------------------------------- | |
854 | --Start Good Stuff-- | |
855 | ------------------------------------------------------- | |
856 | cam = game.Workspace.CurrentCamera | |
857 | CF = CFrame.new | |
858 | angles = CFrame.Angles | |
859 | attack = false | |
860 | Euler = CFrame.fromEulerAnglesXYZ | |
861 | Rad = math.rad | |
862 | IT = Instance.new | |
863 | BrickC = BrickColor.new | |
864 | Cos = math.cos | |
865 | Acos = math.acos | |
866 | Sin = math.sin | |
867 | Asin = math.asin | |
868 | Abs = math.abs | |
869 | Mrandom = math.random | |
870 | Floor = math.floor | |
871 | ------------------------------------------------------- | |
872 | --End Good Stuff-- | |
873 | ------------------------------------------------------- | |
874 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
875 | RSH, LSH = nil, nil | |
876 | RW = Instance.new("Weld") | |
877 | LW = Instance.new("Weld") | |
878 | RH = tors["Right Hip"] | |
879 | LH = tors["Left Hip"] | |
880 | RSH = tors["Right Shoulder"] | |
881 | LSH = tors["Left Shoulder"] | |
882 | RSH.Parent = nil | |
883 | LSH.Parent = nil | |
884 | RW.Name = "RW" | |
885 | RW.Part0 = tors | |
886 | RW.C0 = CF(1.5, 0.5, 0) | |
887 | RW.C1 = CF(0, 0.5, 0) | |
888 | RW.Part1 = ra | |
889 | RW.Parent = tors | |
890 | LW.Name = "LW" | |
891 | LW.Part0 = tors | |
892 | LW.C0 = CF(-1.5, 0.5, 0) | |
893 | LW.C1 = CF(0, 0.5, 0) | |
894 | LW.Part1 = la | |
895 | LW.Parent = tors | |
896 | Effects = {} | |
897 | ------------------------------------------------------- | |
898 | --Start HeartBeat-- | |
899 | ------------------------------------------------------- | |
900 | ArtificialHB = Instance.new("BindableEvent", script) | |
901 | ArtificialHB.Name = "Heartbeat" | |
902 | script:WaitForChild("Heartbeat") | |
903 | ||
904 | frame = 1 / 60 | |
905 | tf = 0 | |
906 | allowframeloss = false | |
907 | tossremainder = false | |
908 | ||
909 | ||
910 | lastframe = tick() | |
911 | script.Heartbeat:Fire() | |
912 | ||
913 | ||
914 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
915 | tf = tf + s | |
916 | if tf >= frame then | |
917 | if allowframeloss then | |
918 | script.Heartbeat:Fire() | |
919 | lastframe = tick() | |
920 | else | |
921 | for i = 1, math.floor(tf / frame) do | |
922 | script.Heartbeat:Fire() | |
923 | end | |
924 | lastframe = tick() | |
925 | end | |
926 | if tossremainder then | |
927 | tf = 0 | |
928 | else | |
929 | tf = tf - frame * math.floor(tf / frame) | |
930 | end | |
931 | end | |
932 | end) | |
933 | ------------------------------------------------------- | |
934 | --End HeartBeat-- | |
935 | ------------------------------------------------------- | |
936 | ||
937 | ------------------------------------------------------- | |
938 | --Start Important Functions-- | |
939 | ------------------------------------------------------- | |
940 | function swait(num) | |
941 | if num == 0 or num == nil then | |
942 | game:service("RunService").Stepped:wait(0) | |
943 | else | |
944 | for i = 0, num do | |
945 | game:service("RunService").Stepped:wait(0) | |
946 | end | |
947 | end | |
948 | end | |
949 | function thread(f) | |
950 | coroutine.resume(coroutine.create(f)) | |
951 | end | |
952 | function clerp(a, b, t) | |
953 | local qa = { | |
954 | QuaternionFromCFrame(a) | |
955 | } | |
956 | local qb = { | |
957 | QuaternionFromCFrame(b) | |
958 | } | |
959 | local ax, ay, az = a.x, a.y, a.z | |
960 | local bx, by, bz = b.x, b.y, b.z | |
961 | local _t = 1 - t | |
962 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
963 | end | |
964 | function QuaternionFromCFrame(cf) | |
965 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
966 | local trace = m00 + m11 + m22 | |
967 | if trace > 0 then | |
968 | local s = math.sqrt(1 + trace) | |
969 | local recip = 0.5 / s | |
970 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
971 | else | |
972 | local i = 0 | |
973 | if m00 < m11 then | |
974 | i = 1 | |
975 | end | |
976 | if m22 > (i == 0 and m00 or m11) then | |
977 | i = 2 | |
978 | end | |
979 | if i == 0 then | |
980 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
981 | local recip = 0.5 / s | |
982 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
983 | elseif i == 1 then | |
984 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
985 | local recip = 0.5 / s | |
986 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
987 | elseif i == 2 then | |
988 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
989 | local recip = 0.5 / s | |
990 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
991 | end | |
992 | end | |
993 | end | |
994 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
995 | local xs, ys, zs = x + x, y + y, z + z | |
996 | local wx, wy, wz = w * xs, w * ys, w * zs | |
997 | local xx = x * xs | |
998 | local xy = x * ys | |
999 | local xz = x * zs | |
1000 | local yy = y * ys | |
1001 | local yz = y * zs | |
1002 | local zz = z * zs | |
1003 | 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)) | |
1004 | end | |
1005 | function QuaternionSlerp(a, b, t) | |
1006 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
1007 | local startInterp, finishInterp | |
1008 | if cosTheta >= 1.0E-4 then | |
1009 | if 1 - cosTheta > 1.0E-4 then | |
1010 | local theta = math.acos(cosTheta) | |
1011 | local invSinTheta = 1 / Sin(theta) | |
1012 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
1013 | finishInterp = Sin(t * theta) * invSinTheta | |
1014 | else | |
1015 | startInterp = 1 - t | |
1016 | finishInterp = t | |
1017 | end | |
1018 | elseif 1 + cosTheta > 1.0E-4 then | |
1019 | local theta = math.acos(-cosTheta) | |
1020 | local invSinTheta = 1 / Sin(theta) | |
1021 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
1022 | finishInterp = Sin(t * theta) * invSinTheta | |
1023 | else | |
1024 | startInterp = t - 1 | |
1025 | finishInterp = t | |
1026 | end | |
1027 | 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 | |
1028 | end | |
1029 | function rayCast(Position, Direction, Range, Ignore) | |
1030 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1031 | end | |
1032 | local RbxUtility = LoadLibrary("RbxUtility") | |
1033 | local Create = RbxUtility.Create | |
1034 | ||
1035 | ------------------------------------------------------- | |
1036 | --Start Damage Function-- | |
1037 | ------------------------------------------------------- | |
1038 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1039 | if hit.Parent == nil then | |
1040 | return | |
1041 | end | |
1042 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1043 | for _, v in pairs(hit.Parent:children()) do | |
1044 | if v:IsA("Humanoid") then | |
1045 | h = v | |
1046 | end | |
1047 | end | |
1048 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
1049 | ||
1050 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1051 | end | |
1052 | ||
1053 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1054 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
1055 | if hit.Parent.DebounceHit.Value == true then | |
1056 | return | |
1057 | end | |
1058 | end | |
1059 | if insta == true then | |
1060 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1061 | end | |
1062 | local c = Create("ObjectValue"){ | |
1063 | Name = "creator", | |
1064 | Value = game:service("Players").LocalPlayer, | |
1065 | Parent = h, | |
1066 | } | |
1067 | game:GetService("Debris"):AddItem(c, .5) | |
1068 | if HitSound ~= nil and HitPitch ~= nil then | |
1069 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1070 | end | |
1071 | local Damage = math.random(minim, maxim) | |
1072 | local blocked = false | |
1073 | local block = hit.Parent:findFirstChild("Block") | |
1074 | if block ~= nil then | |
1075 | if block.className == "IntValue" then | |
1076 | if block.Value > 0 then | |
1077 | blocked = true | |
1078 | block.Value = block.Value - 1 | |
1079 | print(block.Value) | |
1080 | end | |
1081 | end | |
1082 | end | |
1083 | if blocked == false then | |
1084 | h.Health = h.Health - Damage | |
1085 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
1086 | else | |
1087 | h.Health = h.Health - (Damage / 2) | |
1088 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
1089 | end | |
1090 | if Type == "Knockdown" then | |
1091 | local hum = hit.Parent.Humanoid | |
1092 | hum.PlatformStand = true | |
1093 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1094 | swait(1) | |
1095 | HHumanoid.PlatformStand = false | |
1096 | end), hum) | |
1097 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1098 | local bodvol = Create("BodyVelocity"){ | |
1099 | velocity = angle * knockback, | |
1100 | P = 5000, | |
1101 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1102 | Parent = hit, | |
1103 | } | |
1104 | local rl = Create("BodyAngularVelocity"){ | |
1105 | P = 3000, | |
1106 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1107 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1108 | Parent = hit, | |
1109 | } | |
1110 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1111 | game:GetService("Debris"):AddItem(rl, .5) | |
1112 | elseif Type == "Normal" then | |
1113 | local vp = Create("BodyVelocity"){ | |
1114 | P = 500, | |
1115 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1116 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1117 | } | |
1118 | if knockback > 0 then | |
1119 | vp.Parent = hit.Parent.Torso | |
1120 | end | |
1121 | game:GetService("Debris"):AddItem(vp, .5) | |
1122 | elseif Type == "Up" then | |
1123 | local bodyVelocity = Create("BodyVelocity"){ | |
1124 | velocity = Vector3.new(0, 20, 0), | |
1125 | P = 5000, | |
1126 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1127 | Parent = hit, | |
1128 | } | |
1129 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1130 | elseif Type == "DarkUp" then | |
1131 | coroutine.resume(coroutine.create(function() | |
1132 | for i = 0, 1, 0.1 do | |
1133 | swait() | |
1134 | Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1135 | end | |
1136 | end)) | |
1137 | local bodyVelocity = Create("BodyVelocity"){ | |
1138 | velocity = Vector3.new(0, 20, 0), | |
1139 | P = 5000, | |
1140 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1141 | Parent = hit, | |
1142 | } | |
1143 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1144 | elseif Type == "Snare" then | |
1145 | local bp = Create("BodyPosition"){ | |
1146 | P = 2000, | |
1147 | D = 100, | |
1148 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1149 | position = hit.Parent.Torso.Position, | |
1150 | Parent = hit.Parent.Torso, | |
1151 | } | |
1152 | game:GetService("Debris"):AddItem(bp, 1) | |
1153 | elseif Type == "Freeze" then | |
1154 | local BodPos = Create("BodyPosition"){ | |
1155 | P = 50000, | |
1156 | D = 1000, | |
1157 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1158 | position = hit.Parent.Torso.Position, | |
1159 | Parent = hit.Parent.Torso, | |
1160 | } | |
1161 | local BodGy = Create("BodyGyro") { | |
1162 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1163 | P = 20e+003, | |
1164 | Parent = hit.Parent.Torso, | |
1165 | cframe = hit.Parent.Torso.CFrame, | |
1166 | } | |
1167 | hit.Parent.Torso.Anchored = true | |
1168 | coroutine.resume(coroutine.create(function(Part) | |
1169 | swait(1.5) | |
1170 | Part.Anchored = false | |
1171 | end), hit.Parent.Torso) | |
1172 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1173 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1174 | end | |
1175 | local debounce = Create("BoolValue"){ | |
1176 | Name = "DebounceHit", | |
1177 | Parent = hit.Parent, | |
1178 | Value = true, | |
1179 | } | |
1180 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1181 | c = Create("ObjectValue"){ | |
1182 | Name = "creator", | |
1183 | Value = Player, | |
1184 | Parent = h, | |
1185 | } | |
1186 | game:GetService("Debris"):AddItem(c, .5) | |
1187 | end | |
1188 | end | |
1189 | ------------------------------------------------------- | |
1190 | --End Damage Function-- | |
1191 | ------------------------------------------------------- | |
1192 | ||
1193 | ------------------------------------------------------- | |
1194 | --Start Damage Function Customization-- | |
1195 | ------------------------------------------------------- | |
1196 | function ShowDamage(Pos, Text, Time, Color) | |
1197 | local Rate = (1 / 30) | |
1198 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1199 | local Text = (Text or "") | |
1200 | local Time = (Time or 2) | |
1201 | local Color = (Color or Color3.new(1, 0, 1)) | |
1202 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1203 | EffectPart.Anchored = true | |
1204 | local BillboardGui = Create("BillboardGui"){ | |
1205 | Size = UDim2.new(3, 0, 3, 0), | |
1206 | Adornee = EffectPart, | |
1207 | Parent = EffectPart, | |
1208 | } | |
1209 | local TextLabel = Create("TextLabel"){ | |
1210 | BackgroundTransparency = 1, | |
1211 | Size = UDim2.new(1, 0, 1, 0), | |
1212 | Text = Text, | |
1213 | Font = "Bodoni", | |
1214 | TextColor3 = Color, | |
1215 | TextScaled = true, | |
1216 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
1217 | Parent = BillboardGui, | |
1218 | } | |
1219 | game.Debris:AddItem(EffectPart, (Time)) | |
1220 | EffectPart.Parent = game:GetService("Workspace") | |
1221 | delay(0, function() | |
1222 | local Frames = (Time / Rate) | |
1223 | for Frame = 1, Frames do | |
1224 | wait(Rate) | |
1225 | local Percent = (Frame / Frames) | |
1226 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1227 | TextLabel.TextTransparency = Percent | |
1228 | end | |
1229 | if EffectPart and EffectPart.Parent then | |
1230 | EffectPart:Destroy() | |
1231 | end | |
1232 | end) | |
1233 | end | |
1234 | ------------------------------------------------------- | |
1235 | --End Damage Function Customization-- | |
1236 | ------------------------------------------------------- | |
1237 | ||
1238 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1239 | for _, c in pairs(workspace:children()) do | |
1240 | local hum = c:findFirstChild("Humanoid") | |
1241 | if hum ~= nil then | |
1242 | local head = c:findFirstChild("Head") | |
1243 | if head ~= nil then | |
1244 | local targ = head.Position - Part.Position | |
1245 | local mag = targ.magnitude | |
1246 | if magni >= mag and c.Name ~= plr.Name then | |
1247 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
1248 | end | |
1249 | end | |
1250 | end | |
1251 | end | |
1252 | end | |
1253 | ||
1254 | ||
1255 | CFuncs = { | |
1256 | Part = { | |
1257 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1258 | local Part = Create("Part")({ | |
1259 | Parent = Parent, | |
1260 | Reflectance = Reflectance, | |
1261 | Transparency = Transparency, | |
1262 | CanCollide = false, | |
1263 | Locked = true, | |
1264 | BrickColor = BrickColor.new(tostring(BColor)), | |
1265 | Name = Name, | |
1266 | Size = Size, | |
1267 | Material = Material | |
1268 | }) | |
1269 | RemoveOutlines(Part) | |
1270 | return Part | |
1271 | end | |
1272 | }, | |
1273 | Mesh = { | |
1274 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1275 | local Msh = Create(Mesh)({ | |
1276 | Parent = Part, | |
1277 | Offset = OffSet, | |
1278 | Scale = Scale | |
1279 | }) | |
1280 | if Mesh == "SpecialMesh" then | |
1281 | Msh.MeshType = MeshType | |
1282 | Msh.MeshId = MeshId | |
1283 | end | |
1284 | return Msh | |
1285 | end | |
1286 | }, | |
1287 | Mesh = { | |
1288 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1289 | local Msh = Create(Mesh)({ | |
1290 | Parent = Part, | |
1291 | Offset = OffSet, | |
1292 | Scale = Scale | |
1293 | }) | |
1294 | if Mesh == "SpecialMesh" then | |
1295 | Msh.MeshType = MeshType | |
1296 | Msh.MeshId = MeshId | |
1297 | end | |
1298 | return Msh | |
1299 | end | |
1300 | }, | |
1301 | Weld = { | |
1302 | Create = function(Parent, Part0, Part1, C0, C1) | |
1303 | local Weld = Create("Weld")({ | |
1304 | Parent = Parent, | |
1305 | Part0 = Part0, | |
1306 | Part1 = Part1, | |
1307 | C0 = C0, | |
1308 | C1 = C1 | |
1309 | }) | |
1310 | return Weld | |
1311 | end | |
1312 | }, | |
1313 | Sound = { | |
1314 | Create = function(id, par, vol, pit) | |
1315 | coroutine.resume(coroutine.create(function() | |
1316 | local S = Create("Sound")({ | |
1317 | Volume = vol, | |
1318 | Pitch = pit or 1, | |
1319 | SoundId = id, | |
1320 | Parent = par or workspace | |
1321 | }) | |
1322 | wait() | |
1323 | S:play() | |
1324 | game:GetService("Debris"):AddItem(S, 6) | |
1325 | end)) | |
1326 | end | |
1327 | }, | |
1328 | ParticleEmitter = { | |
1329 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1330 | local fp = Create("ParticleEmitter")({ | |
1331 | Parent = Parent, | |
1332 | Color = ColorSequence.new(Color1, Color2), | |
1333 | LightEmission = LightEmission, | |
1334 | Size = Size, | |
1335 | Texture = Texture, | |
1336 | Transparency = Transparency, | |
1337 | ZOffset = ZOffset, | |
1338 | Acceleration = Accel, | |
1339 | Drag = Drag, | |
1340 | LockedToPart = LockedToPart, | |
1341 | VelocityInheritance = VelocityInheritance, | |
1342 | EmissionDirection = EmissionDirection, | |
1343 | Enabled = Enabled, | |
1344 | Lifetime = LifeTime, | |
1345 | Rate = Rate, | |
1346 | Rotation = Rotation, | |
1347 | RotSpeed = RotSpeed, | |
1348 | Speed = Speed, | |
1349 | VelocitySpread = VelocitySpread | |
1350 | }) | |
1351 | return fp | |
1352 | end | |
1353 | } | |
1354 | } | |
1355 | function RemoveOutlines(part) | |
1356 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1357 | end | |
1358 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1359 | local Part = Create("Part")({ | |
1360 | formFactor = FormFactor, | |
1361 | Parent = Parent, | |
1362 | Reflectance = Reflectance, | |
1363 | Transparency = Transparency, | |
1364 | CanCollide = false, | |
1365 | Locked = true, | |
1366 | BrickColor = BrickColor.new(tostring(BColor)), | |
1367 | Name = Name, | |
1368 | Size = Size, | |
1369 | Material = Material | |
1370 | }) | |
1371 | RemoveOutlines(Part) | |
1372 | return Part | |
1373 | end | |
1374 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1375 | local Msh = Create(Mesh)({ | |
1376 | Parent = Part, | |
1377 | Offset = OffSet, | |
1378 | Scale = Scale | |
1379 | }) | |
1380 | if Mesh == "SpecialMesh" then | |
1381 | Msh.MeshType = MeshType | |
1382 | Msh.MeshId = MeshId | |
1383 | end | |
1384 | return Msh | |
1385 | end | |
1386 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1387 | local Weld = Create("Weld")({ | |
1388 | Parent = Parent, | |
1389 | Part0 = Part0, | |
1390 | Part1 = Part1, | |
1391 | C0 = C0, | |
1392 | C1 = C1 | |
1393 | }) | |
1394 | return Weld | |
1395 | end | |
1396 | ||
1397 | ||
1398 | ------------------------------------------------------- | |
1399 | --Start Effect Function-- | |
1400 | ------------------------------------------------------- | |
1401 | EffectModel = Instance.new("Model", char) | |
1402 | Effects = { | |
1403 | Block = { | |
1404 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1405 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1406 | prt.Anchored = true | |
1407 | prt.CFrame = cframe | |
1408 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1409 | game:GetService("Debris"):AddItem(prt, 10) | |
1410 | if Type == 1 or Type == nil then | |
1411 | table.insert(Effects, { | |
1412 | prt, | |
1413 | "Block1", | |
1414 | delay, | |
1415 | x3, | |
1416 | y3, | |
1417 | z3, | |
1418 | msh | |
1419 | }) | |
1420 | elseif Type == 2 then | |
1421 | table.insert(Effects, { | |
1422 | prt, | |
1423 | "Block2", | |
1424 | delay, | |
1425 | x3, | |
1426 | y3, | |
1427 | z3, | |
1428 | msh | |
1429 | }) | |
1430 | else | |
1431 | table.insert(Effects, { | |
1432 | prt, | |
1433 | "Block3", | |
1434 | delay, | |
1435 | x3, | |
1436 | y3, | |
1437 | z3, | |
1438 | msh | |
1439 | }) | |
1440 | end | |
1441 | end | |
1442 | }, | |
1443 | Sphere = { | |
1444 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1445 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1446 | prt.Anchored = true | |
1447 | prt.CFrame = cframe | |
1448 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1449 | game:GetService("Debris"):AddItem(prt, 10) | |
1450 | table.insert(Effects, { | |
1451 | prt, | |
1452 | "Cylinder", | |
1453 | delay, | |
1454 | x3, | |
1455 | y3, | |
1456 | z3, | |
1457 | msh | |
1458 | }) | |
1459 | end | |
1460 | }, | |
1461 | Cylinder = { | |
1462 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1463 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1464 | prt.Anchored = true | |
1465 | prt.CFrame = cframe | |
1466 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1467 | game:GetService("Debris"):AddItem(prt, 10) | |
1468 | table.insert(Effects, { | |
1469 | prt, | |
1470 | "Cylinder", | |
1471 | delay, | |
1472 | x3, | |
1473 | y3, | |
1474 | z3, | |
1475 | msh | |
1476 | }) | |
1477 | end | |
1478 | }, | |
1479 | Wave = { | |
1480 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1481 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1482 | prt.Anchored = true | |
1483 | prt.CFrame = cframe | |
1484 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
1485 | game:GetService("Debris"):AddItem(prt, 10) | |
1486 | table.insert(Effects, { | |
1487 | prt, | |
1488 | "Cylinder", | |
1489 | delay, | |
1490 | x3 / 60, | |
1491 | y3 / 60, | |
1492 | z3 / 60, | |
1493 | msh | |
1494 | }) | |
1495 | end | |
1496 | }, | |
1497 | Ring = { | |
1498 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1499 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1500 | prt.Anchored = true | |
1501 | prt.CFrame = cframe | |
1502 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1503 | game:GetService("Debris"):AddItem(prt, 10) | |
1504 | table.insert(Effects, { | |
1505 | prt, | |
1506 | "Cylinder", | |
1507 | delay, | |
1508 | x3, | |
1509 | y3, | |
1510 | z3, | |
1511 | msh | |
1512 | }) | |
1513 | end | |
1514 | }, | |
1515 | Break = { | |
1516 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1517 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1518 | prt.Anchored = true | |
1519 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1520 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1521 | local num = math.random(10, 50) / 1000 | |
1522 | game:GetService("Debris"):AddItem(prt, 10) | |
1523 | table.insert(Effects, { | |
1524 | prt, | |
1525 | "Shatter", | |
1526 | num, | |
1527 | prt.CFrame, | |
1528 | math.random() - math.random(), | |
1529 | 0, | |
1530 | math.random(50, 100) / 100 | |
1531 | }) | |
1532 | end | |
1533 | }, | |
1534 | Spiral = { | |
1535 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1536 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1537 | prt.Anchored = true | |
1538 | prt.CFrame = cframe | |
1539 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1540 | game:GetService("Debris"):AddItem(prt, 10) | |
1541 | table.insert(Effects, { | |
1542 | prt, | |
1543 | "Cylinder", | |
1544 | delay, | |
1545 | x3, | |
1546 | y3, | |
1547 | z3, | |
1548 | msh | |
1549 | }) | |
1550 | end | |
1551 | }, | |
1552 | Push = { | |
1553 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1554 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1555 | prt.Anchored = true | |
1556 | prt.CFrame = cframe | |
1557 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1558 | game:GetService("Debris"):AddItem(prt, 10) | |
1559 | table.insert(Effects, { | |
1560 | prt, | |
1561 | "Cylinder", | |
1562 | delay, | |
1563 | x3, | |
1564 | y3, | |
1565 | z3, | |
1566 | msh | |
1567 | }) | |
1568 | end | |
1569 | } | |
1570 | } | |
1571 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
1572 | local fp = IT("Part") | |
1573 | fp.formFactor = formfactor | |
1574 | fp.Parent = parent | |
1575 | fp.Reflectance = reflectance | |
1576 | fp.Transparency = transparency | |
1577 | fp.CanCollide = false | |
1578 | fp.Locked = true | |
1579 | fp.BrickColor = brickcolor | |
1580 | fp.Name = name | |
1581 | fp.Size = size | |
1582 | fp.Position = tors.Position | |
1583 | RemoveOutlines(fp) | |
1584 | fp.Material = "SmoothPlastic" | |
1585 | fp:BreakJoints() | |
1586 | return fp | |
1587 | end | |
1588 | ||
1589 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1590 | local mesh = IT(Mesh) | |
1591 | mesh.Parent = part | |
1592 | if Mesh == "SpecialMesh" then | |
1593 | mesh.MeshType = meshtype | |
1594 | if meshid ~= "nil" then | |
1595 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
1596 | end | |
1597 | end | |
1598 | mesh.Offset = offset | |
1599 | mesh.Scale = scale | |
1600 | return mesh | |
1601 | end | |
1602 | ||
1603 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
1604 | local type = type | |
1605 | local rng = Instance.new("Part", char) | |
1606 | rng.Anchored = true | |
1607 | rng.BrickColor = color | |
1608 | rng.CanCollide = false | |
1609 | rng.FormFactor = 3 | |
1610 | rng.Name = "Ring" | |
1611 | rng.Material = "Neon" | |
1612 | rng.Size = Vector3.new(1, 1, 1) | |
1613 | rng.Transparency = 0 | |
1614 | rng.TopSurface = 0 | |
1615 | rng.BottomSurface = 0 | |
1616 | rng.CFrame = pos | |
1617 | local rngm = Instance.new("SpecialMesh", rng) | |
1618 | rngm.MeshType = MType | |
1619 | rngm.Scale = scale | |
1620 | local scaler2 = 1 | |
1621 | if type == "Add" then | |
1622 | scaler2 = 1 * value | |
1623 | elseif type == "Divide" then | |
1624 | scaler2 = 1 / value | |
1625 | end | |
1626 | coroutine.resume(coroutine.create(function() | |
1627 | for i = 0, 10 / bonuspeed, 0.1 do | |
1628 | swait() | |
1629 | if type == "Add" then | |
1630 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1631 | elseif type == "Divide" then | |
1632 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1633 | end | |
1634 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1635 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1636 | end | |
1637 | rng:Destroy() | |
1638 | end)) | |
1639 | end | |
1640 | ||
1641 | function Eviscerate(dude) | |
1642 | if dude.Name ~= char then | |
1643 | local bgf = IT("BodyGyro", dude.Head) | |
1644 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1645 | local val = IT("BoolValue", dude) | |
1646 | val.Name = "IsHit" | |
1647 | local ds = coroutine.wrap(function() | |
1648 | dude:WaitForChild("Head"):BreakJoints() | |
1649 | wait(0.5) | |
1650 | target = nil | |
1651 | coroutine.resume(coroutine.create(function() | |
1652 | for i, v in pairs(dude:GetChildren()) do | |
1653 | if v:IsA("Accessory") then | |
1654 | v:Destroy() | |
1655 | end | |
1656 | if v:IsA("Humanoid") then | |
1657 | v:Destroy() | |
1658 | end | |
1659 | if v:IsA("CharacterMesh") then | |
1660 | v:Destroy() | |
1661 | end | |
1662 | if v:IsA("Model") then | |
1663 | v:Destroy() | |
1664 | end | |
1665 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1666 | for x, o in pairs(v:GetChildren()) do | |
1667 | if o:IsA("Decal") then | |
1668 | o:Destroy() | |
1669 | end | |
1670 | end | |
1671 | coroutine.resume(coroutine.create(function() | |
1672 | v.Material = "Neon" | |
1673 | v.CanCollide = false | |
1674 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1675 | PartEmmit1.LightEmission = 1 | |
1676 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1677 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1678 | PartEmmit1.Rate = 150 | |
1679 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1680 | PartEmmit1.Size = NumberSequence.new({ | |
1681 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1682 | NumberSequenceKeypoint.new(1, 0, 0) | |
1683 | }) | |
1684 | PartEmmit1.Transparency = NumberSequence.new({ | |
1685 | NumberSequenceKeypoint.new(0, 0, 0), | |
1686 | NumberSequenceKeypoint.new(1, 1, 0) | |
1687 | }) | |
1688 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1689 | PartEmmit1.VelocitySpread = 30000 | |
1690 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1691 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1692 | local BodPoss = IT("BodyPosition", v) | |
1693 | BodPoss.P = 3000 | |
1694 | BodPoss.D = 1000 | |
1695 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1696 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1697 | v.Color = maincolor.Color | |
1698 | coroutine.resume(coroutine.create(function() | |
1699 | for i = 0, 49 do | |
1700 | swait(1) | |
1701 | v.Transparency = v.Transparency + 0.08 | |
1702 | end | |
1703 | wait(0.5) | |
1704 | PartEmmit1.Enabled = false | |
1705 | wait(3) | |
1706 | v:Destroy() | |
1707 | dude:Destroy() | |
1708 | end)) | |
1709 | end)) | |
1710 | end | |
1711 | end | |
1712 | end)) | |
1713 | end) | |
1714 | ds() | |
1715 | end | |
1716 | end | |
1717 | ||
1718 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1719 | if SinglePlayer then | |
1720 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1721 | end | |
1722 | local List = {} | |
1723 | for i, v in pairs(workspace:GetChildren()) do | |
1724 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1725 | table.insert(List, v) | |
1726 | end | |
1727 | end | |
1728 | return List | |
1729 | end | |
1730 | ||
1731 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1732 | local type = type | |
1733 | local rng = Instance.new("Part", char) | |
1734 | rng.Anchored = true | |
1735 | rng.BrickColor = color | |
1736 | rng.CanCollide = false | |
1737 | rng.FormFactor = 3 | |
1738 | rng.Name = "Ring" | |
1739 | rng.Material = "Neon" | |
1740 | rng.Size = Vector3.new(1, 1, 1) | |
1741 | rng.Transparency = 0 | |
1742 | rng.TopSurface = 0 | |
1743 | rng.BottomSurface = 0 | |
1744 | rng.CFrame = pos | |
1745 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1746 | local rngm = Instance.new("SpecialMesh", rng) | |
1747 | rngm.MeshType = MType | |
1748 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1749 | local scaler2 = 1 | |
1750 | local speeder = FastSpeed | |
1751 | if type == "Add" then | |
1752 | scaler2 = 1 * value | |
1753 | elseif type == "Divide" then | |
1754 | scaler2 = 1 / value | |
1755 | end | |
1756 | coroutine.resume(coroutine.create(function() | |
1757 | for i = 0, 10 / bonuspeed, 0.1 do | |
1758 | swait() | |
1759 | if type == "Add" then | |
1760 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1761 | elseif type == "Divide" then | |
1762 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1763 | end | |
1764 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1765 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1766 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1767 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1768 | end | |
1769 | rng:Destroy() | |
1770 | end)) | |
1771 | end | |
1772 | ||
1773 | function SoulSteal(dude) | |
1774 | if dude.Name ~= char then | |
1775 | local bgf = IT("BodyGyro", dude.Head) | |
1776 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1777 | local val = IT("BoolValue", dude) | |
1778 | val.Name = "IsHit" | |
1779 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1780 | local soulst = coroutine.wrap(function() | |
1781 | local soul = Instance.new("Part",dude) | |
1782 | soul.Size = Vector3.new(1,1,1) | |
1783 | soul.CanCollide = false | |
1784 | soul.Anchored = false | |
1785 | soul.Position = torso.Position | |
1786 | soul.Transparency = 1 | |
1787 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1788 | PartEmmit1.LightEmission = 1 | |
1789 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1790 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1791 | PartEmmit1.Rate = 250 | |
1792 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1793 | PartEmmit1.Size = NumberSequence.new({ | |
1794 | NumberSequenceKeypoint.new(0, 1, 0), | |
1795 | NumberSequenceKeypoint.new(1, 0, 0) | |
1796 | }) | |
1797 | PartEmmit1.Transparency = NumberSequence.new({ | |
1798 | NumberSequenceKeypoint.new(0, 0, 0), | |
1799 | NumberSequenceKeypoint.new(1, 1, 0) | |
1800 | }) | |
1801 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1802 | PartEmmit1.VelocitySpread = 30000 | |
1803 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1804 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1805 | local BodPoss = IT("BodyPosition", soul) | |
1806 | BodPoss.P = 3000 | |
1807 | BodPoss.D = 1000 | |
1808 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1809 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1810 | wait(1.6) | |
1811 | soul.Touched:connect(function(hit) | |
1812 | if hit.Parent == char then | |
1813 | soul:Destroy() | |
1814 | end | |
1815 | end) | |
1816 | wait(1.2) | |
1817 | while soul do | |
1818 | swait() | |
1819 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1820 | BodPoss.Position = tors.Position | |
1821 | end | |
1822 | end) | |
1823 | soulst() | |
1824 | end | |
1825 | end | |
1826 | function FaceMouse() | |
1827 | local Cam = workspace.CurrentCamera | |
1828 | return { | |
1829 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1830 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1831 | } | |
1832 | end | |
1833 | ||
1834 | BTAUNT = Instance.new("Sound", tors) | |
1835 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=222585134" | |
1836 | BTAUNT.Volume = 3 | |
1837 | BTAUNT.Pitch = 1 | |
1838 | BTAUNT.Looped = true | |
1839 | BTAUNT.TimePosition = 0 | |
1840 | ||
1841 | BTAUNT3 = Instance.new("Sound", tors) | |
1842 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=2553966123" | |
1843 | BTAUNT3.Volume = 10 | |
1844 | BTAUNT3.Pitch = 1 | |
1845 | BTAUNT3.Looped = false | |
1846 | BTAUNT3.TimePosition = 0 | |
1847 | ||
1848 | TEST = Instance.new("Sound", tors) | |
1849 | TEST.SoundId = "http://www.roblox.com/asset/?id=2553966123" | |
1850 | TEST.Volume = 25 | |
1851 | TEST.Pitch = 1 | |
1852 | TEST.Looped = false | |
1853 | TEST.TimePosition = 0 | |
1854 | ------------------------------------------------------- | |
1855 | --End Effect Function-- | |
1856 | ------------------------------------------------------- | |
1857 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1858 | local NSound = nil | |
1859 | coroutine.resume(coroutine.create(function() | |
1860 | NSound = IT("Sound", PARENT) | |
1861 | NSound.Volume = VOLUME | |
1862 | NSound.Pitch = PITCH | |
1863 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1864 | swait() | |
1865 | NSound:play() | |
1866 | game:GetService("Debris"):AddItem(NSound, 50) | |
1867 | end)) | |
1868 | return NSound | |
1869 | end | |
1870 | function CameraEnshaking(Length, Intensity) | |
1871 | coroutine.resume(coroutine.create(function() | |
1872 | local intensity = 1 * Intensity | |
1873 | local rotM = 0.01 * Intensity | |
1874 | for i = 0, Length, 0.1 do | |
1875 | swait() | |
1876 | intensity = intensity - 0.05 * Intensity / Length | |
1877 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1878 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1879 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
1880 | end | |
1881 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1882 | end)) | |
1883 | end | |
1884 | ------------------------------------------------------- | |
1885 | --End Important Functions-- | |
1886 | ------------------------------------------------------- | |
1887 | ||
1888 | ||
1889 | ------------------------------------------------------- | |
1890 | --Start Customization-- | |
1891 | ------------------------------------------------------- | |
1892 | local Player_Size = 1 | |
1893 | if Player_Size ~= 1 then | |
1894 | root.Size = root.Size * Player_Size | |
1895 | tors.Size = tors.Size * Player_Size | |
1896 | hed.Size = hed.Size * Player_Size | |
1897 | ra.Size = ra.Size * Player_Size | |
1898 | la.Size = la.Size * Player_Size | |
1899 | rl.Size = rl.Size * Player_Size | |
1900 | ll.Size = ll.Size * Player_Size | |
1901 | ---------------------------------------------------------------------------------- | |
1902 | rootj.Parent = root | |
1903 | neck.Parent = tors | |
1904 | RW.Parent = tors | |
1905 | LW.Parent = tors | |
1906 | RH.Parent = tors | |
1907 | LH.Parent = tors | |
1908 | ---------------------------------------------------------------------------------- | |
1909 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1910 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1911 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1912 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1913 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1914 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1915 | ---------------------------------------------------------------------------------- | |
1916 | RH.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)) | |
1917 | LH.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)) | |
1918 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1919 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1920 | --hat.Parent = Character | |
1921 | end | |
1922 | ---------------------------------------------------------------------------------- | |
1923 | ---------------------------------------------------------------------------------- | |
1924 | local equipped = false | |
1925 | local idle = 0 | |
1926 | local change = 1 | |
1927 | local val = 0 | |
1928 | local toim = 0 | |
1929 | local idleanim = 0.4 | |
1930 | local sine = 0 | |
1931 | local Sit = 1 | |
1932 | ---------------------------------------------------------------------------------- | |
1933 | hum.WalkSpeed = 99 | |
1934 | hum.JumpPower = 100 | |
1935 | hum.MaxHealth = 16e+16 | |
1936 | hum.Health = 16e+16 | |
1937 | hum.Animator.Parent = nil | |
1938 | ---------------------------------------------------------------------------------- | |
1939 | wait(1) | |
1940 | player = game.Players.LocalPlayer | |
1941 | torso = player.Character:WaitForChild("Torso") | |
1942 | mouse = player:GetMouse() | |
1943 | ||
1944 | mouse.KeyDown:connect(function(key) | |
1945 | if key == "t" then | |
1946 | Cso("2545012765", hed, 3.5, 1) | |
1947 | dist = (torso.Position - mouse.Hit.p).magnitude | |
1948 | if dist <= 10000 then | |
1949 | torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0) | |
1950 | end | |
1951 | end | |
1952 | end) | |
1953 | ------------------------------------------------------- | |
1954 | --End Customization-- | |
1955 | ------------------------------------------------------- | |
1956 | local Blobby = Instance.new("Part", char) | |
1957 | Blobby.Name = "Blob" | |
1958 | Blobby.CanCollide = false | |
1959 | Blobby.BrickColor = BrickColor.new("Really black") | |
1960 | Blobby.Transparency = 0 | |
1961 | Blobby.Material = "Plastic" | |
1962 | Blobby.Size = Vector3.new(1, 1, 2) | |
1963 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
1964 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
1965 | ||
1966 | local Weld = Instance.new("Weld", Blobby) | |
1967 | Weld.Part0 = ra | |
1968 | Weld.Part1 = Blobby | |
1969 | Weld.C1 = CFrame.new(0, 0.8, 0) | |
1970 | Weld.C0 = CFrame.Angles(Rad(-180),0,135) | |
1971 | ||
1972 | local M2 = Instance.new("SpecialMesh") | |
1973 | M2.Parent = Blobby | |
1974 | M2.MeshId = "rbxassetid://28140935" | |
1975 | M2.TextureId = "rbxassetid://26884682" | |
1976 | M2.Scale = Vector3.new(1, 0.8, 1) | |
1977 | ||
1978 | --[[local naeeym2 = Instance.new("BillboardGui",char) | |
1979 | naeeym2.AlwaysOnTop = true | |
1980 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1981 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
1982 | naeeym2.Adornee = hed | |
1983 | naeeym2.Name = "Name" | |
1984 | --naeeym2.PlayerToHideFrom = Player | |
1985 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1986 | tecks2.BackgroundTransparency = 1 | |
1987 | tecks2.TextScaled = true | |
1988 | tecks2.BorderSizePixel = 0 | |
1989 | tecks2.Text = "Fight Me" | |
1990 | tecks2.Font = Enum.Font.Bodoni | |
1991 | tecks2.TextSize = 30 | |
1992 | tecks2.TextStrokeTransparency = 0 | |
1993 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1994 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1995 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1996 | tecks2.Parent = naeeym2]] | |
1997 | ---------------------------------------------------------------------------------- | |
1998 | local AddInstance = function(Object, ...) | |
1999 | local Obj = Instance.new(Object) | |
2000 | for i,v in next,(...) do | |
2001 | Obj[i] = v | |
2002 | end | |
2003 | return Obj | |
2004 | end | |
2005 | ---------------------------------------------------- | |
2006 | local Reaper = AddInstance("Part",{ | |
2007 | Parent = hed, | |
2008 | CFrame = hed.CFrame, | |
2009 | formFactor = "Symmetric", | |
2010 | Size = Vector3.new(1, 1, 1), | |
2011 | CanCollide = false, | |
2012 | TopSurface = "Smooth", | |
2013 | BottomSurface = "Smooth", | |
2014 | Locked = true, | |
2015 | }) | |
2016 | local Weld = AddInstance("Weld",{ | |
2017 | Parent = Reaper, | |
2018 | Part0 = hed, | |
2019 | C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0), | |
2020 | Part1 = Reaper, | |
2021 | }) | |
2022 | local Mesh = AddInstance("SpecialMesh",{ | |
2023 | Parent = Reaper, | |
2024 | MeshId = "rbxassetid://193760002", | |
2025 | TextureId = "rbxassetid://89867215", | |
2026 | Scale = Vector3.new(1.1, 1.1, 1.1), | |
2027 | VertexColor = Vector3.new(0.5, 0.5, 0.5), | |
2028 | }) | |
2029 | ------------------------------------------------------- | |
2030 | wait(1) | |
2031 | plr = game.Players.LocalPlayer | |
2032 | char = plr.Character | |
2033 | mouse = plr:GetMouse() | |
2034 | whitecolor = Color3.new(1,1,1) | |
2035 | epicmode = false | |
2036 | normal = true | |
2037 | for i,v in pairs(char:GetChildren()) do | |
2038 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
2039 | v:Destroy() | |
2040 | end | |
2041 | end | |
2042 | local shirt = Instance.new("Shirt",char) | |
2043 | shirt.ShirtTemplate = "rbxassetid://2544612637" | |
2044 | local pants = Instance.new("Pants",char) | |
2045 | pants.PantsTemplate = "rbxassetid://2544611861" | |
2046 | local bdycolors = char["Body Colors"] | |
2047 | bdycolors.HeadColor3 = whitecolor | |
2048 | bdycolors.LeftArmColor3 = whitecolor | |
2049 | bdycolors.LeftLegColor3 = whitecolor | |
2050 | bdycolors.RightArmColor3 = whitecolor | |
2051 | bdycolors.RightLegColor3 = whitecolor | |
2052 | bdycolors.TorsoColor3 = whitecolor | |
2053 | for i,v in pairs(char:GetChildren()) do | |
2054 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
2055 | v:Destroy() | |
2056 | end | |
2057 | end | |
2058 | ||
2059 | ------------------------------------------------------- | |
2060 | --Start Attacks N Stuff-- | |
2061 | ------------------------------------------------------- | |
2062 | local naeeym2 = Instance.new("BillboardGui",char) | |
2063 | naeeym2.AlwaysOnTop = true | |
2064 | naeeym2.Size = UDim2.new(5,35,2,35) | |
2065 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
2066 | naeeym2.Adornee = hed | |
2067 | naeeym2.Name = "Name" | |
2068 | ||
2069 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
2070 | tecks2.BackgroundTransparency = 1 | |
2071 | tecks2.TextScaled = true | |
2072 | tecks2.BorderSizePixel = 0 | |
2073 | tecks2.Text = "Madness jester" | |
2074 | tecks2.Font = "Fantasy" | |
2075 | tecks2.TextSize = 50 | |
2076 | tecks2.TextStrokeTransparency = 0 | |
2077 | tecks2.TextColor3 = BrickColor.new('Really red').Color | |
2078 | tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color | |
2079 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
2080 | tecks2.Parent = naeeym2 | |
2081 | textfag = tecks2 | |
2082 | tecks2.Text = "Jester" | |
2083 | BTAUNT:Play() | |
2084 | coroutine.resume(coroutine.create(function() | |
2085 | while textfag ~= nil do | |
2086 | swait() | |
2087 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
2088 | textfag.Rotation = math.random(-3,3) | |
2089 | end | |
2090 | end)) | |
2091 | ||
2092 | function get_out() | |
2093 | BTAUNT:Stop() | |
2094 | attack = true | |
2095 | BTAUNT3:Remove() | |
2096 | BTAUNT3:Play() | |
2097 | repeat | |
2098 | hum.WalkSpeed = 10 | |
2099 | for i = 0,0.37,0.03 do | |
2100 | swait() | |
2101 | BTAUNT3.Parent = tors | |
2102 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2103 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2104 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
2105 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2106 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1) | |
2107 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1) | |
2108 | end | |
2109 | for i = 0,0.37,0.03 do | |
2110 | swait() | |
2111 | BTAUNT3.Parent = tors | |
2112 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2113 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2114 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
2115 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2116 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1) | |
2117 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1) | |
2118 | end | |
2119 | until BTAUNT3.Playing == false | |
2120 | BTAUNT3:Stop() | |
2121 | BTAUNT3:Play() | |
2122 | BTAUNT3:Remove() | |
2123 | BTAUNT:Play() | |
2124 | attack = false | |
2125 | hum.WalkSpeed = 20 | |
2126 | BTAUNT:Play() | |
2127 | end | |
2128 | function Taunt2() | |
2129 | attack = true | |
2130 | hum.WalkSpeed = 0 | |
2131 | CFuncs.Sound.Create("rbxassetid://2545008459", head, 100, 1) | |
2132 | for i = 0, 2, 0.1 do | |
2133 | swait() | |
2134 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
2135 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2136 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2137 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2138 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
2139 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2140 | end | |
2141 | for i = 0, 6, 0.1 do | |
2142 | swait() | |
2143 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
2144 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15) | |
2145 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2146 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2147 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2148 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
2149 | end | |
2150 | for i = 0, 2, 0.1 do | |
2151 | swait() | |
2152 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
2153 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2154 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2155 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2156 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
2157 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2158 | end | |
2159 | attack = false | |
2160 | hum.WalkSpeed = 20 | |
2161 | end | |
2162 | function icando() | |
2163 | print('>:3') | |
2164 | attack = true | |
2165 | hum.WalkSpeed = 0 | |
2166 | TEST:Remove() | |
2167 | TEST:Play() | |
2168 | repeat | |
2169 | for i = 0,4,0.1 do | |
2170 | swait() | |
2171 | TEST.Parent = tors | |
2172 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
2173 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3) | |
2174 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2175 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2176 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1) | |
2177 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1) | |
2178 | end | |
2179 | until TEST.Playing == false | |
2180 | TEST:Stop() | |
2181 | TEST:Play() | |
2182 | TEST:Remove() | |
2183 | print('YOU CANT STOP ME') | |
2184 | attack = false | |
2185 | hum.WalkSpeed = 99 | |
2186 | end | |
2187 | function Blood_ball() | |
2188 | local orb = Instance.new("Part", char) | |
2189 | orb.Anchored = true | |
2190 | orb.BrickColor = BrickC("Deep orange") | |
2191 | orb.CanCollide = false | |
2192 | orb.FormFactor = 3 | |
2193 | orb.Name = "Ring" | |
2194 | orb.Material = "Neon" | |
2195 | orb.Size = Vector3.new(1, 1, 1) | |
2196 | orb.Transparency = 0 | |
2197 | orb.TopSurface = 0 | |
2198 | orb.BottomSurface = 0 | |
2199 | local orbm = Instance.new("SpecialMesh", orb) | |
2200 | orbm.MeshType = "Sphere" | |
2201 | orbm.Name = "SizeMesh" | |
2202 | orbm.Scale = Vector3.new(0, 0, 0) | |
2203 | local scaled = 0.1 | |
2204 | local posid = 0 | |
2205 | for i = 0, 109, 0.1 do | |
2206 | swait() | |
2207 | scaled = scaled + 0.001 | |
2208 | posid = posid - scaled | |
2209 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
2210 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
2211 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2212 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2213 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
2214 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
2215 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
2216 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
2217 | end | |
2218 | coroutine.resume(coroutine.create(function() | |
2219 | orb.Anchored = false | |
2220 | --CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1) | |
2221 | mes("CALAMITY ORB COMING IN EVERYTHING WILL BE DESTROYED",0.05) | |
2222 | local a = Instance.new("Part", workspace) | |
2223 | a.Name = "Direction" | |
2224 | a.Anchored = true | |
2225 | a.BrickColor = BrickC("Crimson") | |
2226 | a.Material = "Neon" | |
2227 | a.Transparency = 1 | |
2228 | a.CanCollide = false | |
2229 | local ray = Ray.new(orb.CFrame.p, (root.CFrame.lookVector - orb.CFrame.p).unit * 500) | |
2230 | local ignore = orb | |
2231 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2232 | a.BottomSurface = 10 | |
2233 | a.TopSurface = 10 | |
2234 | local distance = (orb.CFrame.p - position).magnitude | |
2235 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
2236 | a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0) | |
2237 | orb.CFrame = a.CFrame | |
2238 | a:Destroy() | |
2239 | local bv = Instance.new("BodyVelocity") | |
2240 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2241 | bv.velocity = orb.CFrame.lookVector * 125 | |
2242 | bv.Parent = orb | |
2243 | local hitted = false | |
2244 | game:GetService("Debris"):AddItem(orb, 15) | |
2245 | wait() | |
2246 | local hit = orb.Touched:connect(function(hit) | |
2247 | if hitted == false then | |
2248 | hitted = true | |
2249 | coroutine.resume(coroutine.create(function() | |
2250 | for i = 0,1.8,0.1 do | |
2251 | swait() | |
2252 | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) | |
2253 | end | |
2254 | for i = 0,1.8,0.1 do | |
2255 | swait() | |
2256 | hum.CameraOffset = Vector3.new(0,0,0) | |
2257 | end | |
2258 | end)) | |
2259 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1) | |
2260 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 50000)) do | |
2261 | if v:FindFirstChild("Head") then | |
2262 | Eviscerate(v) | |
2263 | end | |
2264 | end | |
2265 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Deep orange"), "Sphere") | |
2266 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really red"), "Sphere") | |
2267 | for i = 0, 9 do | |
2268 | --Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Deep orange"), 0, "Sphere") | |
2269 | --Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Really red"), 0, "Sphere") | |
2270 | end | |
2271 | orb.Anchored = true | |
2272 | orb.Transparency = 1 | |
2273 | wait(8) | |
2274 | orb:Destroy() | |
2275 | end | |
2276 | end) | |
2277 | end)) | |
2278 | for i = 0, 2, 0.1 do | |
2279 | swait() | |
2280 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2281 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2282 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
2283 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
2284 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
2285 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
2286 | end | |
2287 | attack = false | |
2288 | end | |
2289 | function Blood_ball() | |
2290 | attack = true | |
2291 | local orb = Instance.new("Part", char) | |
2292 | orb.Anchored = true | |
2293 | orb.BrickColor = BrickC("Really black") | |
2294 | orb.CanCollide = false | |
2295 | orb.FormFactor = 3 | |
2296 | orb.Name = "Ring" | |
2297 | orb.Material = "Neon" | |
2298 | orb.Size = Vector3.new(1, 1, 1) | |
2299 | orb.Transparency = 0 | |
2300 | orb.TopSurface = 0 | |
2301 | orb.BottomSurface = 0 | |
2302 | local orbm = Instance.new("SpecialMesh", orb) | |
2303 | orbm.MeshType = "Sphere" | |
2304 | orbm.Name = "SizeMesh" | |
2305 | orbm.Scale = Vector3.new(0, 0, 0) | |
2306 | local scaled = 0.1 | |
2307 | local posid = 0 | |
2308 | for i = 0, 12, 0.1 do | |
2309 | swait() | |
2310 | scaled = scaled + 0.001 | |
2311 | posid = posid - scaled | |
2312 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
2313 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
2314 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2315 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2316 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
2317 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2318 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
2319 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2320 | end | |
2321 | coroutine.resume(coroutine.create(function() | |
2322 | orb.Anchored = false | |
2323 | local a = Instance.new("Part", workspace) | |
2324 | a.Name = "Direction" | |
2325 | a.Anchored = true | |
2326 | a.BrickColor = BrickC("Really red") | |
2327 | a.Material = "Neon" | |
2328 | a.Transparency = 1 | |
2329 | a.CanCollide = false | |
2330 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
2331 | local ignore = orb | |
2332 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2333 | a.BottomSurface = 10 | |
2334 | a.TopSurface = 10 | |
2335 | local distance = (orb.CFrame.p - position).magnitude | |
2336 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
2337 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
2338 | orb.CFrame = a.CFrame | |
2339 | a:Destroy() | |
2340 | local bv = Instance.new("BodyVelocity") | |
2341 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2342 | bv.velocity = orb.CFrame.lookVector * 125 | |
2343 | bv.Parent = orb | |
2344 | local hitted = false | |
2345 | game:GetService("Debris"):AddItem(orb, 15) | |
2346 | swait() | |
2347 | local hit = orb.Touched:connect(function(hit) | |
2348 | if hitted == false then | |
2349 | hitted = true | |
2350 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1) | |
2351 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
2352 | if v:FindFirstChild("Head") then | |
2353 | Eviscerate(v) | |
2354 | end | |
2355 | end | |
2356 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Deep orange"), "Sphere") | |
2357 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Deep orange"), "Sphere") | |
2358 | for i = 0, 9 do | |
2359 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really red"), 0, "Sphere") | |
2360 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2361 | end | |
2362 | orb.Anchored = true | |
2363 | orb.Transparency = 1 | |
2364 | wait(8) | |
2365 | orb:Destroy() | |
2366 | end | |
2367 | end) | |
2368 | end)) | |
2369 | for i = 0, 1, 0.1 do | |
2370 | swait() | |
2371 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
2372 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3) | |
2373 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3) | |
2374 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
2375 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
2376 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
2377 | end | |
2378 | attack = false | |
2379 | end | |
2380 | function blast() | |
2381 | attack = true | |
2382 | hum.WalkSpeed = 0 | |
2383 | for i = 0,1.2,0.1 do | |
2384 | swait() | |
2385 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2386 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2387 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2388 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2389 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2390 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1) | |
2391 | end | |
2392 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2393 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2394 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01) | |
2395 | Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01) | |
2396 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere") | |
2397 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really red"), "Sphere") | |
2398 | Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really red"), "Sphere") | |
2399 | ||
2400 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do | |
2401 | if v:FindFirstChild("Head") then | |
2402 | Eviscerate(v) | |
2403 | end | |
2404 | end | |
2405 | ||
2406 | for i = 1,4.7,0.1 do | |
2407 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2408 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2409 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2410 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2411 | RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1) | |
2412 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1) | |
2413 | end | |
2414 | wait(.6) | |
2415 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2416 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2417 | Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01) | |
2418 | Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01) | |
2419 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Deep orange"), "Sphere") | |
2420 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really red"), "Sphere") | |
2421 | Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01,BrickColor.new("Deep orange"), "Sphere") | |
2422 | ||
2423 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do | |
2424 | if v:FindFirstChild("Head") then | |
2425 | Eviscerate(v) | |
2426 | end | |
2427 | end | |
2428 | ||
2429 | for i = 1,4.7,0.1 do | |
2430 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2431 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2432 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2433 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2434 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1) | |
2435 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1) | |
2436 | end | |
2437 | wait(.6) | |
2438 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2439 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2440 | Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01) | |
2441 | Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01) | |
2442 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere") | |
2443 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere") | |
2444 | Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really red"), "Sphere") | |
2445 | ||
2446 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do | |
2447 | if v:FindFirstChild("Head") then | |
2448 | Eviscerate(v) | |
2449 | end | |
2450 | end | |
2451 | ||
2452 | for i = 1,4.7,0.1 do | |
2453 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2454 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2455 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2456 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2457 | RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1) | |
2458 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1) | |
2459 | end | |
2460 | wait(.6) | |
2461 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2462 | Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick") | |
2463 | Effects.Sphere.Create(BrickColor.new("Deep orange"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01) | |
2464 | Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01) | |
2465 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Navy blue"), "Sphere") | |
2466 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Lime green"), "Sphere") | |
2467 | Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Deep orange"), "Sphere") | |
2468 | ||
2469 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do | |
2470 | if v:FindFirstChild("Head") then | |
2471 | Eviscerate(v) | |
2472 | end | |
2473 | end | |
2474 | ||
2475 | for i = 1,4.7,0.1 do | |
2476 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2477 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2478 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2479 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2480 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1) | |
2481 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1) | |
2482 | end | |
2483 | wait(.6) | |
2484 | attack = false | |
2485 | hum.WalkSpeed = 8 | |
2486 | end | |
2487 | function dejzrXD() | |
2488 | attack = true | |
2489 | hum.WalkSpeed = 20 | |
2490 | for i = 0, 4, 0.1 do | |
2491 | swait() | |
2492 | Cso("2545012765", char, 10, 1) | |
2493 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0) | |
2494 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2) | |
2495 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
2496 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
2497 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
2498 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
2499 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
2500 | end | |
2501 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
2502 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
2503 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
2504 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
2505 | CameraEnshaking(4, 5) | |
2506 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
2507 | if v:FindFirstChild("Head") then | |
2508 | Eviscerate(v) | |
2509 | end | |
2510 | end | |
2511 | for i = 0, 2, 0.1 do | |
2512 | swait() | |
2513 | hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0) | |
2514 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2) | |
2515 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
2516 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
2517 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
2518 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
2519 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
2520 | end | |
2521 | attack = false | |
2522 | Speed = 20 | |
2523 | end | |
2524 | ||
2525 | function Attack() | |
2526 | attack = true | |
2527 | for i = 0, 2.6, 0.1 do | |
2528 | swait() | |
2529 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2) | |
2530 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
2531 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
2532 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2) | |
2533 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
2534 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) | |
2535 | end | |
2536 | Cso("2545012765", tors, 10, 1) | |
2537 | CameraEnshaking(2, 15) | |
2538 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2539 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2540 | Effects.Wave.Create(BrickColor.new("Deep orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2541 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
2542 | if v:FindFirstChild("Head") then | |
2543 | Eviscerate(v) | |
2544 | end | |
2545 | end | |
2546 | for i = 0, 3, 0.1 do | |
2547 | swait() | |
2548 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
2549 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
2550 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
2551 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3) | |
2552 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
2553 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
2554 | end | |
2555 | attack = false | |
2556 | end | |
2557 | function Orb_Strike() | |
2558 | attack = true | |
2559 | Cso("2545012765", char, 7, 0.8) | |
2560 | for i = 0, 9 do | |
2561 | Aura(1, 1.5, "Add", mouse.Hit * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, maincolor, 0, "Sphere") | |
2562 | Aura(2, 1.5, "Add", mouse.Hit * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, maincolor, 0, "Sphere") | |
2563 | end | |
2564 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
2565 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
2566 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
2567 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
2568 | for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do | |
2569 | if v:FindFirstChild("Head") then | |
2570 | Eviscerate(v) | |
2571 | end | |
2572 | end | |
2573 | attack = false | |
2574 | hum.WalkSpeed = 20 | |
2575 | end | |
2576 | ------------------------------------------------------- | |
2577 | --End Attacks N Stuff-- | |
2578 | ------------------------------------------------------- | |
2579 | mouse.KeyDown:connect(function(key) | |
2580 | if attack == false then | |
2581 | if key == 'e' then | |
2582 | icando() | |
2583 | elseif key == 'c' then | |
2584 | Blood_ball() | |
2585 | elseif key == "x" then | |
2586 | blast() | |
2587 | elseif key == "y" then | |
2588 | Taunt2() | |
2589 | elseif key == 'h' then | |
2590 | Orb_Strike() | |
2591 | elseif key == "z" then | |
2592 | dejzrXD() | |
2593 | end | |
2594 | end | |
2595 | end) | |
2596 | ||
2597 | mouse.Button1Down:connect(function(key) | |
2598 | if attack == false then | |
2599 | Attack() | |
2600 | end | |
2601 | end) | |
2602 | ||
2603 | ||
2604 | ||
2605 | ------------------------------------------------------- | |
2606 | --Start Animations-- | |
2607 | ------------------------------------------------------- | |
2608 | print("By Makhail07") | |
2609 | while true do | |
2610 | swait() | |
2611 | sine = sine + change | |
2612 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2613 | local velderp = root.Velocity.y | |
2614 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
2615 | if equipped == true or equipped == false then | |
2616 | if attack == false then | |
2617 | idle = idle + 1 | |
2618 | else | |
2619 | idle = 0 | |
2620 | end | |
2621 | if 1 < root.Velocity.y and hitfloor == nil then | |
2622 | Anim = "Jump" | |
2623 | if attack == false then | |
2624 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15) | |
2625 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2626 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2627 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2628 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
2629 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
2630 | end | |
2631 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2632 | Anim = "Fall" | |
2633 | if attack == false then | |
2634 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
2635 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2636 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
2637 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
2638 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
2639 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
2640 | end | |
2641 | elseif torvel < 1 and hitfloor ~= nil then | |
2642 | Anim = "Idle" | |
2643 | change = 1 | |
2644 | if attack == false then | |
2645 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
2646 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2647 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
2648 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2649 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1) | |
2650 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2651 | end | |
2652 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2653 | Anim = "Walk" | |
2654 | change = 1 | |
2655 | if attack == false then | |
2656 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15) | |
2657 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2658 | RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2659 | LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2660 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1) | |
2661 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2662 | end | |
2663 | elseif torvel >= 25 and hitfloor ~= nil then | |
2664 | Anim = "Sprint" | |
2665 | change = 1.35 | |
2666 | if attack == false then | |
2667 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
2668 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2669 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2670 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2671 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2672 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
2673 | end | |
2674 | end | |
2675 | end | |
2676 | if 0 < #Effects then | |
2677 | for e = 1, #Effects do | |
2678 | if Effects[e] ~= nil then | |
2679 | local Thing = Effects[e] | |
2680 | if Thing ~= nil then | |
2681 | local Part = Thing[1] | |
2682 | local Mode = Thing[2] | |
2683 | local Delay = Thing[3] | |
2684 | local IncX = Thing[4] | |
2685 | local IncY = Thing[5] | |
2686 | local IncZ = Thing[6] | |
2687 | if 1 >= Thing[1].Transparency then | |
2688 | if Thing[2] == "Block1" then | |
2689 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2690 | local Mesh = Thing[1].Mesh | |
2691 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2692 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2693 | elseif Thing[2] == "Block2" then | |
2694 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2695 | local Mesh = Thing[7] | |
2696 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2697 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2698 | elseif Thing[2] == "Block3" then | |
2699 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
2700 | local Mesh = Thing[7] | |
2701 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2702 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2703 | elseif Thing[2] == "Cylinder" then | |
2704 | local Mesh = Thing[1].Mesh | |
2705 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2706 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2707 | elseif Thing[2] == "Blood" then | |
2708 | local Mesh = Thing[7] | |
2709 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2710 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2711 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2712 | elseif Thing[2] == "Elec" then | |
2713 | local Mesh = Thing[1].Mesh | |
2714 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2715 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2716 | elseif Thing[2] == "Disappear" then | |
2717 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2718 | elseif Thing[2] == "Shatter" then | |
2719 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2720 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2721 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2722 | Thing[6] = Thing[6] + Thing[5] | |
2723 | end | |
2724 | else | |
2725 | Part.Parent = nil | |
2726 | table.remove(Effects, e) | |
2727 | end | |
2728 | end | |
2729 | end | |
2730 | end | |
2731 | end | |
2732 | end | |
2733 | ------------------------------------------------------- | |
2734 | --End Animations And Script-- | |
2735 | ------------------------------------------------------- |