SHOW:
|
|
- or go back to the newest paste.
1 | - | -- [[ Name: Goner by Shackluster ]] -- |
1 | + | if not _G.Velocity then _G.Velocity = Vector3.new(30,0,0) end |
2 | - | -- [[ Converted: By Melon ]] -- |
2 | + | |
3 | - | -- [[ Reanimate: By Emper ]] -- |
3 | + | -- adding net so we dont lose the body |
4 | - | -- [[ Description: nothing to put ]] -- |
4 | + | local plr = game.Players.LocalPlayer |
5 | game:GetService("RunService").RenderStepped:Connect(function() | |
6 | - | -- [[ Hats ]] -- |
6 | + | settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled |
7 | settings().Physics.AllowSleep = false | |
8 | - | -- [[ Free ]] -- |
8 | + | game.Players.LocalPlayer.ReplicationFocus = workspace |
9 | - | -- [[ www.roblox.com/catalog/4819740796/Robox ]] -- |
9 | + | sethiddenproperty(plr,"SimulationRadius",1000) |
10 | - | -- [[ www.roblox.com/catalog/3409612660/International-Fedora-USA ]] -- |
10 | + | sethiddenproperty(plr,"MaxSimulationRadius",1000) |
11 | - | -- [[ www.roblox.com/catalog/3398308134/International-Fedora-Canada ]] -- |
11 | + | |
12 | - | -- [[ www.roblox.com/catalog/3033908130/International-Fedora-France ]] -- |
12 | + | |
13 | - | -- [[ www.roblox.com/catalog/3033910400/International-Fedora-Germany ]] -- |
13 | + | |
14 | loadstring(game:HttpGet("https://raw.githubusercontent.com/GelatekWasTaken/GelatekV2/main/LoadLibrary.lua"))() | |
15 | - | -- [[ Paid (1) ]] -- |
15 | + | -- its open source so you can always change the link. |
16 | - | -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] -- |
16 | + | -- Creating Early Variables. |
17 | - | -- [[ www.roblox.com/catalog/14255556501/Extra-Right-White-Arm ]] -- |
17 | + | local Player = game.Players.LocalPlayer |
18 | - | -- [[ www.roblox.com/catalog/14255554762/Extra-Left-White-Arm ]] -- |
18 | + | local Character = Player.Character |
19 | - | -- [[ www.roblox.com/catalog/14768693948/White-Extended-Right-Arm ]] -- |
19 | + | local PlayerName = Player.Name |
20 | - | -- [[ www.roblox.com/catalog/14768701869/White-Extended-Left-Arm ]] -- |
20 | + | local Physics = settings().Physics |
21 | local Head = Character:FindFirstChild("Head") | |
22 | - | -- [[ Paid (2) ]] -- |
22 | + | local Torso = Character:FindFirstChild("Torso") |
23 | - | -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] -- |
23 | + | local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart") |
24 | - | -- [[ www.roblox.com/catalog/11159410305/Rectangle-Head-For-Headless ]] -- |
24 | + | local Humanoid = Character:FindFirstChild("Humanoid") |
25 | - | -- [[ www.roblox.com/catalog/11263254795/Dummy-Head-For-Headless ]] -- |
25 | + | local LeftArm = Character:FindFirstChild("Left Arm") |
26 | - | -- [[ www.roblox.com/catalog/12344545199/Extra-Left-hand-moving-Blocky-white ]] -- |
26 | + | local LeftLeg = Character:FindFirstChild("Left Leg") |
27 | - | -- [[ www.roblox.com/catalog/12344591101/Extra-Right-hand-moving-Blocky-white ]] -- |
27 | + | local RightArm = Character:FindFirstChild("Right Arm") |
28 | local RightLeg = Character:FindFirstChild("Right Leg") | |
29 | - | -- [[ Swords ]] -- |
29 | + | local Reanimated = true |
30 | - | -- [[ www.roblox.com/catalog/12798859142/funny-purple-sword-on-back-that-is-purple-ok ]] -- |
30 | + | |
31 | - | -- [[ www.roblox.com/catalog/5890467216/Shadow-Lord-Sword ]] -- |
31 | + | if Humanoid.RigType == Enum.HumanoidRigType.R15 then |
32 | - | -- [[ www.roblox.com/catalog/5555611932/Fireaxe ]] -- |
32 | + | game.StarterGui:SetCore("ChatMakeSystemMessage", { |
33 | - | -- [[ www.roblox.com/catalog/4506945409/Corrupt-Demonic-Greatsword ]] -- |
33 | + | Text = "[CoolHubTutorial] You are on R15! Please use the R15 Reanimation instead.", |
34 | - | -- [[ www.roblox.com/catalog/8131073156/Scythe-of-Retribution ]] -- |
34 | + | Color = Color3.fromRGB(255, 10, 70), |
35 | - | -- [[ * FREE * www.roblox.com/catalog/10775031176/The-Pogo ]] -- |
35 | + | TextSize = 18, |
36 | - | -- [[ * FREE * www.roblox.com/catalog/5552252553/Kinetic-Staff ]] -- |
36 | + | Font = Enum.Font.Ubuntu |
37 | - | -- [[ * FREE * www.roblox.com/catalog/7548993875/Slasher ]] -- |
37 | + | }); |
38 | - | -- [[ The list above is the supported hats. ]] -- |
38 | + | return end |
39 | if game.Players.LocalPlayer.Character:FindFirstChild("CoolHubTutorial") or workspace:FindFirstChild("CoolHubTutorial") then | |
40 | - | game:GetService("StarterGui"):SetCore("SendNotification", { |
40 | + | game.StarterGui:SetCore("ChatMakeSystemMessage", { |
41 | - | Title = "Melon's (FE) Converts/Scripts"; |
41 | + | Text = "[CoolHubTutorial] You are already reanimated! Please reset to unreanimate.", |
42 | - | Text = "Thanks for using!"; |
42 | + | Color = Color3.fromRGB(255, 10, 70), |
43 | - | Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"}) |
43 | + | TextSize = 18, |
44 | - | Duration = 3; |
44 | + | Font = Enum.Font.Ubuntu |
45 | }); | |
46 | - | if not game:IsLoaded() then |
46 | + | return end |
47 | - | game.Loaded:Wait() |
47 | + | |
48 | Physics.AllowSleep = false | |
49 | Physics.ThrottleAdjustTime = -9e9 | |
50 | - | local function FindInstance(Parent, ClassName, Name) |
50 | + | Player.ReplicationFocus = workspace |
51 | - | for _, Instance in pairs(Parent:GetChildren()) do |
51 | + | Character.Archivable = true |
52 | - | if Instance:IsA(ClassName) and Instance.Name == Name then |
52 | + | -- Checks if player died so it doesnt run again. |
53 | - | return Instance |
53 | + | game:WaitForChild("Run Service").RenderStepped:Connect(function() |
54 | if Character:FindFirstChild("Humanoid").Health == 0 then | |
55 | Reanimated = false | |
56 | wait(9e9^30) | |
57 | end | |
58 | - | local function WaitForClass(Parent, ClassName) |
58 | + | |
59 | - | local Instance = Parent:FindFirstChildOfClass(ClassName) |
59 | + | _G.Fling = true |
60 | -- Start reanimation | |
61 | - | while not Instance and Parent do |
61 | + | game:WaitForChild("Run Service").Heartbeat:Connect(function() |
62 | - | Parent.ChildAdded:Wait() |
62 | + | if Reanimated == true then |
63 | - | Instance = Parent:FindFirstChildOfClass(ClassName) |
63 | + | if Character.CoolHubTutorial then |
64 | Character.Torso.CFrame=Character.CoolHubTutorial.Torso.CFrame | |
65 | end | |
66 | - | return Instance |
66 | + | RightArm.Velocity = _G.Velocity |
67 | RightLeg.Velocity =_G.Velocity | |
68 | LeftArm.Velocity = _G.Velocity | |
69 | - | local function WaitForClassOfName(Parent, ...) |
69 | + | LeftLeg.Velocity = _G.Velocity |
70 | - | local Instance = FindInstance(Parent, ...) |
70 | + | if _G.Fling == true then |
71 | Torso.Velocity = Vector3.new(9999,9999,9999) | |
72 | - | while not Instance and Parent do |
72 | + | else |
73 | - | Parent.ChildAdded:Wait() |
73 | + | Torso.Velocity = Vector3.new(-28.05,1,1) |
74 | - | Instance = FindInstance(Parent, ...) |
74 | + | end |
75 | HumanoidRootPart.Velocity = _G.Velocity | |
76 | for _, Accessories in pairs(Character:GetDescendants()) do | |
77 | - | return Instance |
77 | + | if Accessories:IsA("Accessory") then |
78 | Accessories.Handle.Velocity = _G.Velocity | |
79 | end | |
80 | - | local Fling = { } |
80 | + | |
81 | - | local Aligns = { } |
81 | + | |
82 | - | local Blacklist = { } |
82 | + | end |
83 | - | local Accessories = { } |
83 | + | |
84 | - | local Attachments = { } |
84 | + | |
85 | local CopyCharacter = Character:Clone() | |
86 | - | local Instancenew = Instance.new |
86 | + | CopyCharacter.Parent = Character |
87 | CopyCharacter.Name = "CoolHubTutorial" -- you can always change name. | |
88 | - | local taskwait = task.wait |
88 | + | |
89 | - | local taskspawn = task.spawn |
89 | + | for k,l in pairs(Character.CoolHubTutorial:GetDescendants()) do |
90 | - | local taskdefer = task.defer |
90 | + | if l:IsA("Part") or l:IsA("Decal") then |
91 | l.Transparency=1 | |
92 | - | local mathabs = math.abs |
92 | + | |
93 | - | local mathcos = math.cos |
93 | + | |
94 | - | local mathrandom = math.random |
94 | + | |
95 | Character.Torso["Left Shoulder"]:Destroy() | |
96 | - | local stringmatch = string.match |
96 | + | Character.Torso["Right Shoulder"]:Destroy() |
97 | Character.Torso["Left Hip"]:Destroy() | |
98 | - | local osclock = os.clock |
98 | + | Character.Torso["Right Hip"]:Destroy() |
99 | HumanoidRootPart.RootJoint:Destroy() | |
100 | - | local tableinsert = table.insert |
100 | + | -- Using Mizt's align |
101 | - | local tableclear = table.clear |
101 | + | local CountSCIFIMOVIELOL = 1 |
102 | - | local tablefind = table.find |
102 | + | function AlignCharacter(Part0,Part1,Position,Angle) |
103 | local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL | |
104 | - | local CFramenew = CFrame.new |
104 | + | AlignPos.ApplyAtCenterOfMass = true; |
105 | - | local CFrameAngles = CFrame.Angles |
105 | + | AlignPos.MaxForce = 5772000--67752; |
106 | - | local CFrameidentity = CFrame.identity |
106 | + | AlignPos.MaxVelocity = math.huge/9e110; |
107 | AlignPos.ReactionForceEnabled = false; | |
108 | - | local Vector3new = Vector3.new |
108 | + | AlignPos.Responsiveness = 200; |
109 | - | local Vector3zero = Vector3.zero |
109 | + | AlignPos.RigidityEnabled = false; |
110 | local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL | |
111 | - | local Sleep = CFrameidentity |
111 | + | AlignOri.MaxAngularVelocity = math.huge/9e110; |
112 | - | local Velocity = Vector3new(0, 16384, 0) |
112 | + | AlignOri.MaxTorque = 5772000 |
113 | - | local Angular = 0 |
113 | + | AlignOri.PrimaryAxisOnly = false; |
114 | - | local Linear = 0 |
114 | + | AlignOri.ReactionTorqueEnabled = false; |
115 | AlignOri.Responsiveness = 200; | |
116 | - | local Workspace = game:FindFirstChildOfClass("Workspace") |
116 | + | AlignOri.RigidityEnabled = false; |
117 | - | local CurrentCamera = Workspace.CurrentCamera |
117 | + | local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthP_"..CountSCIFIMOVIELOL |
118 | local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthP_"..CountSCIFIMOVIELOL | |
119 | - | local Players = game:FindFirstChildOfClass("Players") |
119 | + | local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = "AthO_"..CountSCIFIMOVIELOL |
120 | local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = "AthO_"..CountSCIFIMOVIELOL | |
121 | - | local LocalPlayer = Players.LocalPlayer |
121 | + | AttachmentC.Orientation = Angle |
122 | - | local Mouse = LocalPlayer:GetMouse() |
122 | + | AttachmentA.Position = Position |
123 | AlignPos.Attachment1 = AttachmentA; | |
124 | - | local PostSimulation = game:FindFirstChildOfClass("RunService").PostSimulation |
124 | + | AlignPos.Attachment0 = AttachmentB; |
125 | AlignOri.Attachment1 = AttachmentC; | |
126 | - | local Character = LocalPlayer.Character |
126 | + | AlignOri.Attachment0 = AttachmentD; |
127 | - | local CharacterClone = Instancenew("Model") |
127 | + | CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1 |
128 | end | |
129 | - | local StarterGui = game:FindFirstChildOfClass("StarterGui") |
129 | + | |
130 | - | local BindableEvent = Instancenew("BindableEvent") |
130 | + | AlignCharacter(Torso,CopyCharacter["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0)) |
131 | AlignCharacter(HumanoidRootPart,CopyCharacter["HumanoidRootPart"],Vector3.new(0,0,0),Vector3.new(0,0,0)) | |
132 | - | local UserInputService = game:FindFirstChildOfClass("UserInputService") |
132 | + | AlignCharacter(LeftArm,CopyCharacter["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0)) |
133 | - | local UserInputType = Enum.UserInputType |
133 | + | AlignCharacter(RightArm,CopyCharacter["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0)) |
134 | AlignCharacter(LeftLeg,CopyCharacter["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0)) | |
135 | - | local MouseButton1 = UserInputType.MouseButton1 |
135 | + | AlignCharacter(RightLeg,CopyCharacter["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0)) |
136 | - | local Touch = UserInputType.Touch |
136 | + | CopyCharacter:FindFirstChild("HumanoidRootPart").Anchored = false |
137 | spawn(function() | |
138 | - | local InputBegan = UserInputService.InputBegan:Connect(function(Input, GameProcessed) |
138 | + | while true do wait() |
139 | - | local Type = Input.UserInputType |
139 | + | if Character:FindFirstChild("Humanoid").Health == 0 then |
140 | Character:BreakJoints() | |
141 | - | if not GameProcessed and ( Type == MouseButton1 or Type == Touch ) then |
141 | + | CopyCharacter:BreakJoints() |
142 | - | local Target = Mouse.Target |
142 | + | end |
143 | - | if Target and not Target.Anchored and not Target:IsDescendantOf(CharacterClone) and not Target:IsDescendantOf(Character) and not tablefind(Fling, Target) then |
143 | + | end |
144 | - | local Parent = Target.Parent |
144 | + | |
145 | ||
146 | - | if Parent:IsA("Model") and Parent ~= Character and Parent:FindFirstChildOfClass("Humanoid") then |
146 | + | |
147 | - | local HumanoidRootPart = FindInstance(Parent, "BasePart", "HumanoidRootPart") or FindInstance(Parent, "BasePart", "Torso") or FindInstance(Parent, "BasePart", "Head") |
147 | + | function nocol(t) |
148 | for k,l in pairs(Character:GetDescendants()) do | |
149 | - | if HumanoidRootPart and not tablefind(Fling, HumanoidRootPart) then |
149 | + | if l:IsA("BasePart")then |
150 | - | tableinsert(Fling, HumanoidRootPart) |
150 | + | HILOL=Instance.new("NoCollisionConstraint",l) |
151 | - | return |
151 | + | HILOL.Part0=l |
152 | HILOL.Part1=t | |
153 | end | |
154 | end | |
155 | - | tableinsert(Fling, Target) |
155 | + | |
156 | ||
157 | for k,l in pairs(CopyCharacter:GetDescendants()) do | |
158 | if l:IsA("BasePart")then | |
159 | nocol(l) | |
160 | - | local function Part(Name, Size) |
160 | + | end |
161 | - | local Part = Instancenew("Part") |
161 | + | |
162 | - | Part.Name = Name |
162 | + | |
163 | - | Part.Size = Size |
163 | + | |
164 | - | Part.Transparency = 1 |
164 | + | Torso.Anchored = true |
165 | - | Part.Parent = CharacterClone |
165 | + | LeftArm.Anchored = true |
166 | RightArm.Anchored = true | |
167 | - | return Part |
167 | + | LeftLeg.Anchored = true |
168 | RightLeg.Anchored = true | |
169 | Head.Anchored = true | |
170 | - | local function Motor6D(Name, Part0, Part1, C0, C1) |
170 | + | |
171 | - | local Motor6D = Instancenew("Motor6D") |
171 | + | for k=0,30 do wait() |
172 | - | Motor6D.Name = Name |
172 | + | CopyCharacter.HumanoidRootPart.RotVelocity = Vector3.new(0,0,0) |
173 | - | Motor6D.Part0 = Part0 |
173 | + | CopyCharacter.HumanoidRootPart.Velocity = Vector3.new(0,0,0) |
174 | - | Motor6D.Part1 = Part1 |
174 | + | |
175 | - | Motor6D.C0 = C0 |
175 | + | |
176 | - | Motor6D.C1 = C1 |
176 | + | Character.Animate.Disabled = true |
177 | - | Motor6D.Parent = Part0 |
177 | + | |
178 | game:GetService("UserInputService").JumpRequest:connect(function(t) | |
179 | - | return Motor6D |
179 | + | if CopyCharacter.Humanoid.FloorMaterial~=Enum.Material.Air then |
180 | CopyCharacter.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping) | |
181 | game.Players.LocalPlayer.Character.CoolHubTutorial:FindFirstChildOfClass('Humanoid').Sit=false | |
182 | - | local function Attachment(Name, CFrame, Parent) |
182 | + | end |
183 | - | local Attachment = Instancenew("Attachment") |
183 | + | |
184 | - | Attachment.Name = Name |
184 | + | |
185 | - | Attachment.CFrame = CFrame |
185 | + | game.RunService.RenderStepped:Connect(function() |
186 | - | Attachment.Parent = Parent |
186 | + | CopyCharacter.Humanoid:Move(Character.Humanoid.MoveDirection,false) |
187 | local animtracks = Humanoid:GetPlayingAnimationTracks() | |
188 | - | tableinsert(Attachments, Attachment) |
188 | + | for n,l in pairs(animtracks) do |
189 | - | return Attachment |
189 | + | l:Stop() |
190 | end | |
191 | end) | |
192 | - | local LimbSize = Vector3new(1, 2, 1) |
192 | + | |
193 | - | local TorsoSize = Vector3new(2, 2, 1) |
193 | + | Torso.Anchored = false |
194 | LeftArm.Anchored = false | |
195 | - | local Head = Part("Head", Vector3new(2, 1, 1)) |
195 | + | RightArm.Anchored = false |
196 | - | local Torso = Part("Torso", TorsoSize) |
196 | + | LeftLeg.Anchored = false |
197 | - | local LeftArm = Part("Left Arm", LimbSize) |
197 | + | RightLeg.Anchored = false |
198 | - | local RightArm = Part("Right Arm", LimbSize) |
198 | + | Head.Anchored = false |
199 | - | local LeftLeg = Part("Left Leg", LimbSize) |
199 | + | |
200 | - | local RightLeg = Part("Right Leg", LimbSize) |
200 | + | local something = true |
201 | - | local HumanoidRootPart = Part("HumanoidRootPart", TorsoSize) |
201 | + | while true do |
202 | if something == true then | |
203 | - | local FakeRA = Instance.new("Part") |
203 | + | for n,l in pairs(Character:children()) do |
204 | - | FakeRA.Size = Vector3.new(1,2,1) |
204 | + | pcall(function() |
205 | - | FakeRA.Transparency = 1 |
205 | + | if l.className=="Part" then |
206 | - | FakeRA.BrickColor = BrickColor.new("Institutional White") |
206 | + | l.CanCollide=false |
207 | - | FakeRA.Parent = RightArm |
207 | + | elseif |
208 | l.ClassName=="Model" then | |
209 | - | local FRAW = Instance.new("Weld") |
209 | + | l.Head.CanCollide=false |
210 | - | FRAW.Part0 = RightArm |
210 | + | end |
211 | - | FRAW.Part1 = FakeRA |
211 | + | end) |
212 | - | FRAW.C0 = CFrame.new(0, 0, 0) |
212 | + | end |
213 | - | FRAW.Parent = RightArm |
213 | + | end |
214 | game:service("RunService").Stepped:wait() | |
215 | - | local FakeLA = Instance.new("Part") |
215 | + | |
216 | - | FakeLA.Size = Vector3.new(1,2,1) |
216 | + | |
217 | - | FakeLA.Transparency = 1 |
217 | + | --|| CREATED BY SHACKLUSTER |
218 | - | FakeLA.BrickColor = BrickColor.new("Institutional White") |
218 | + | |
219 | - | FakeLA.Parent = LeftArm |
219 | + | |
220 | ||
221 | - | local FLAW = Instance.new("Weld") |
221 | + | |
222 | - | FLAW.Part0 = LeftArm |
222 | + | wait(0.2) |
223 | - | FLAW.Part1 = FakeLA |
223 | + | |
224 | - | FLAW.C0 = CFrame.new(0, 0, 0) |
224 | + | local Player = game.Players.localPlayer |
225 | - | FLAW.Parent = LeftArm |
225 | + | local Character = Player.Character.CoolHubTutorial |
226 | local Humanoid = Character.Humanoid | |
227 | - | local Part = nil |
227 | + | local Mouse = Player:GetMouse() |
228 | local LeftArm = Character["Left Arm"] | |
229 | - | if Character then |
229 | + | local RightArm = Character["Right Arm"] |
230 | - | Part = FindInstance(Character, "BasePart", "HumanoidRootPart") or FindInstance(Character, "BasePart", "Head") or FindInstance(Character, "BasePart", "Torso") or FindInstance(Character, "BasePart", "UpperTorso") |
230 | + | local LeftLeg = Character["Left Leg"] |
231 | local RightLeg = Character["Right Leg"] | |
232 | local Head = Character.Head | |
233 | - | if Part then |
233 | + | local Torso = Character.Torso |
234 | - | HumanoidRootPart.CFrame = Part.CFrame |
234 | + | local Camera = game.Workspace.CurrentCamera |
235 | - | else |
235 | + | local RootPart = Character.HumanoidRootPart |
236 | - | local SpawnLocations = { } |
236 | + | local RootJoint = RootPart.RootJoint |
237 | local attack = false | |
238 | - | for _, SpawnLocation in pairs(Workspace:GetDescendants()) do |
238 | + | local Anim = 'Idle' |
239 | - | if SpawnLocation:IsA("SpawnLocation") then |
239 | + | local Lighty = game:GetService"Lighting" |
240 | - | tableinsert(SpawnLocations, SpawnLocation) |
240 | + | local attacktype = 1 |
241 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
242 | local velocity = RootPart.Velocity.y | |
243 | local sine = 0 | |
244 | - | local Amount = # SpawnLocations |
244 | + | local change = 1 |
245 | local Create = LoadLibrary("RbxUtility").Create | |
246 | - | if Amount > 0 then |
246 | + | |
247 | - | local SpawnLocation = SpawnLocations[mathrandom(1, Amount)] |
247 | + | |
248 | - | HumanoidRootPart.CFrame = SpawnLocation.CFrame * CFramenew(0, SpawnLocation.Size.Y / 2 + 3, 0) |
248 | + | local chara = Character |
249 | local m = Create("Model"){ | |
250 | - | HumanoidRootPart.CFrame = CFrameidentity |
250 | + | Parent = Character, |
251 | Name = "WeaponModel", | |
252 | } | |
253 | function chat(...) | |
254 | - | local face = Instancenew("Decal") |
254 | + | local txxt = {...} |
255 | - | face.Name = "face" |
255 | + | local ch = coroutine.wrap(function() |
256 | - | face.Parent = Head |
256 | + | if chara:FindFirstChild("Chatt")~= nil then |
257 | Character:FindFirstChild("Chatt"):destroy() | |
258 | - | local AccessoryTable = { |
258 | + | |
259 | - | -- Paid -- |
259 | + | local txt = Instance.new("BillboardGui", chara) |
260 | - | { Mesh = "14241018198", Texture = "14251599953", Instance = Torso }, |
260 | + | txt.Adornee = chara.Head |
261 | - | { Mesh = "14255522247", Texture = "14255543546", Instance = RightArm, CFrame = CFrameAngles(0, 1.57, 1.57) }, |
261 | + | txt.Name = "Chatt" |
262 | - | { Mesh = "14255522247", Texture = "14255543546", Instance = LeftArm, CFrame = CFrameAngles(0, - 1.57, 1.57) }, |
262 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
263 | - | { Mesh = "14768684979", Texture = "14768683674", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) }, |
263 | + | txt.StudsOffset = Vector3.new(-9, 7, 0) |
264 | - | { Mesh = "14768684979", Texture = "14768683674", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) }, |
264 | + | local text = Instance.new("TextLabel", txt) |
265 | text.Size = UDim2.new(10, 0, 7, 0) | |
266 | - | -- Paid (2) -- |
266 | + | text.TextSize = 24 |
267 | - | { Mesh = "14241018198", Texture = "14251599953", Instance = Torso }, |
267 | + | text.Font = Enum.Font.Fantasy |
268 | - | { Mesh = "12344206657", Texture = "12344206675", Instance = RightArm, CFrame = CFrameAngles(-115, 0, 0) }, |
268 | + | text.TextScaled = false |
269 | - | { Mesh = "12344207333", Texture = "12344207341", Instance = LeftArm, CFrame = CFrameAngles(-115, 0, 0) }, |
269 | + | text.BackgroundTransparency = 1 |
270 | - | { Mesh = "11159370334", Texture = "11159284657", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) }, |
270 | + | text.TextColor3 = Color3.new(0,0,0) |
271 | - | { Mesh = "11263221350", Texture = "11263219250", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) }, |
271 | + | text.TextStrokeTransparency = 0 |
272 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
273 | - | -- Free -- |
273 | + | text.Text = "" |
274 | - | { Mesh = "4819720316", Texture = "4819722776", Instance = Torso, CFrame = CFrameAngles(0, 0, 105) }, |
274 | + | txxt = table.concat(txxt,"\t") |
275 | - | { Mesh = "3030546036", Texture = "3033903209", Instance = RightArm, CFrame = CFrameAngles(-90, 0, -89.5) }, |
275 | + | for i = 1, #txxt do |
276 | - | { Mesh = "3030546036", Texture = "3360978739", Instance = LeftArm, CFrame = CFrameAngles(-90, 0, 89.5) }, |
276 | + | text.Text = txxt:sub(1,i) |
277 | - | { Mesh = "3030546036", Texture = "3409604993", Instance = RightLeg, CFrame = CFrameAngles(-90, 0, -89.5) }, |
277 | + | |
278 | - | { Mesh = "3030546036", Texture = "3033898741", Instance = LeftLeg, CFrame = CFrameAngles(-90, 0, 89.5) }, |
278 | + | |
279 | - | |
279 | + | wait(2) |
280 | - | -- Shadow Lord -- |
280 | + | for trans = 0,1,.1 do |
281 | - | { Mesh = "5890419577", Texture = "5890391196", Instance = FakeRA, CFrame = CFramenew(0,-1,-2.65) * CFrameAngles(2.30, 0, 0)}, |
281 | + | text.TextTransparency = trans |
282 | - | -- Fire Axe -- |
282 | + | text.TextStrokeTransparency = trans |
283 | - | { Mesh = "5555532600", Texture = "5555532634", Instance = FakeRA, CFrame = CFramenew(0,-0.85,-1) * CFrameAngles(-1.55, 3.15, 0)}, |
283 | + | wait() |
284 | - | -- Neptunian Sword -- |
284 | + | |
285 | - | { Mesh = "12798770968", Texture = "12798770990", Instance = FakeRA, CFrame = CFramenew(0,-1,-2.35) * CFrameAngles(-3.25, 3.15, 0)}, |
285 | + | wait() |
286 | - | -- Scythe of Retribution -- |
286 | + | txt:destroy() |
287 | - | { Mesh = "8129761285", Texture = "8130936356", Instance = FakeRA, CFrame = CFramenew(0,-0.85,-2.75) * CFrameAngles(-0.80, 3.15, 0)}, |
287 | + | |
288 | - | -- Demonic Greatsword -- |
288 | + | |
289 | - | { Mesh = "4315410540", Texture = "4506940486", Instance = FakeRA, CFrame = CFramenew(0,-0.90,-2.65) * CFrameAngles(0,1.55,2.32)}, |
289 | + | ch(...) |
290 | - | -- Pogo Stick -- |
290 | + | |
291 | - | { Mesh = "10775011914", Texture = "10774853167", Instance = FakeRA, CFrame = CFramenew(0,-0.95,-1.25) * CFrameAngles(0,1.65,2.25)}, |
291 | + | Player.Chatted:connect(chat) |
292 | - | -- Crystal Staff -- |
292 | + | warn("Q to teleport") |
293 | - | { Mesh = "5548423017", Texture = "5548423938", Instance = FakeRA, CFrame = CFramenew(0,-1.55,-1) * CFrameAngles(0,1.63,-1)}, |
293 | + | warn("E to create a sinkhole") |
294 | - | -- Slasher -- |
294 | + | warn("R to create a massive sinkhole") |
295 | - | { Mesh = "7547179386", Texture = "7547152243", Instance = FakeRA, CFrame = CFramenew(0,-0.55,-1.45) * CFrameAngles(1.25, 1.65, 1)}, |
295 | + | warn("T to laugh") |
296 | Player = game:GetService("Players").LocalPlayer | |
297 | PlayerGui = Player.PlayerGui | |
298 | Cam = workspace.CurrentCamera | |
299 | - | for _, Table in pairs(AccessoryTable) do |
299 | + | Backpack = Player.Backpack |
300 | - | if type(Table.Mesh) ~= "string" then |
300 | + | |
301 | - | Table.Mesh = "" |
301 | + | Humanoid = Character.Humanoid |
302 | Mouse = Player:GetMouse() | |
303 | - | if type(Table.Texture) ~= "string" then |
303 | + | RootPart = Character["HumanoidRootPart"] |
304 | - | Table.Texture = "" |
304 | + | Torso = Character["Torso"] |
305 | Head = Character["Head"] | |
306 | RightArm = Character["Right Arm"] | |
307 | LeftArm = Character["Left Arm"] | |
308 | - | Motor6D("Right Shoulder", Torso, RightArm, CFramenew(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)) |
308 | + | RightLeg = Character["Right Leg"] |
309 | - | Motor6D("Left Shoulder", Torso, LeftArm, CFramenew(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)) |
309 | + | LeftLeg = Character["Left Leg"] |
310 | - | Motor6D("Right Hip", Torso, RightLeg, CFramenew(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)) |
310 | + | RootJoint = RootPart["RootJoint"] |
311 | - | Motor6D("Left Hip", Torso, LeftLeg, CFramenew(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)) |
311 | + | Neck = Torso["Neck"] |
312 | - | Motor6D("Neck", Torso, Head, CFramenew(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)) |
312 | + | RightShoulder = Torso["Right Shoulder"] |
313 | - | Motor6D("RootJoint", HumanoidRootPart, Torso, CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)) |
313 | + | LeftShoulder = Torso["Left Shoulder"] |
314 | RightHip = Torso["Right Hip"] | |
315 | - | Attachment("HairAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) |
315 | + | LeftHip = Torso["Left Hip"] |
316 | - | Attachment("HatAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) |
316 | + | local sick = Instance.new("Sound",Character) |
317 | - | Attachment("FaceFrontAttachment", CFramenew(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) |
317 | + | sick.SoundId = "rbxassetid://573736432" |
318 | - | Attachment("FaceCenterAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head) |
318 | + | sick.Looped = true |
319 | - | Attachment("NeckAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
319 | + | sick.Pitch = 1 |
320 | - | Attachment("BodyFrontAttachment", CFramenew(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
320 | + | sick.Volume = 1 |
321 | - | Attachment("BodyBackAttachment", CFramenew(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
321 | + | Humanoid.DisplayDistanceType = "None" |
322 | - | Attachment("LeftCollarAttachment", CFramenew(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
322 | + | |
323 | - | Attachment("RightCollarAttachment", CFramenew(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
323 | + | |
324 | - | Attachment("WaistFrontAttachment", CFramenew(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
324 | + | |
325 | - | Attachment("WaistCenterAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
325 | + | |
326 | - | Attachment("WaistBackAttachment", CFramenew(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso) |
326 | + | |
327 | - | Attachment("LeftShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm) |
327 | + | |
328 | - | Attachment("LeftGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm) |
328 | + | |
329 | - | Attachment("RightShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm) |
329 | + | |
330 | - | Attachment("RightGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm) |
330 | + | |
331 | - | Attachment("LeftFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftLeg) |
331 | + | |
332 | - | Attachment("RightFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightLeg) |
332 | + | |
333 | - | Attachment("RootAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), HumanoidRootPart) |
333 | + | |
334 | SIN = math.sin | |
335 | - | local Humanoid = Instancenew("Humanoid", CharacterClone) |
335 | + | |
336 | - | Instancenew("Animator", Humanoid) |
336 | + | |
337 | MRANDOM = math.random | |
338 | - | Instancenew("LocalScript", CharacterClone).Name = "Animate" |
338 | + | |
339 | ||
340 | - | CharacterClone.PrimaryPart = Head |
340 | + | |
341 | - | CharacterClone.Parent = Workspace |
341 | + | |
342 | if MESH == "SpecialMesh" then | |
343 | - | local function DescendantAdded(Instance) |
343 | + | |
344 | - | if Instance:IsA("Accessory") then |
344 | + | |
345 | - | taskspawn(function() |
345 | + | |
346 | - | local Handle = WaitForClassOfName(Instance, "BasePart", "Handle") |
346 | + | |
347 | - | local Attachment = WaitForClass(Handle, "Attachment") |
347 | + | |
348 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
349 | - | local Clone = Instance:Clone() |
349 | + | |
350 | end | |
351 | - | local CloneHandle = FindInstance(Clone, "BasePart", "Handle") |
351 | + | |
352 | - | CloneHandle.Transparency = 1 |
352 | + | |
353 | - | CloneHandle:BreakJoints() |
353 | + | |
354 | return NEWMESH | |
355 | - | local AccessoryWeld = Instancenew("Weld") |
355 | + | |
356 | - | AccessoryWeld.Name = "AccessoryWeld" |
356 | + | |
357 | - | AccessoryWeld.Part0 = CloneHandle |
357 | + | |
358 | - | AccessoryWeld.C0 = Attachment.CFrame |
358 | + | |
359 | NEWPART.formFactor = FORMFACTOR | |
360 | - | local Name = Attachment.Name |
360 | + | |
361 | NEWPART.Transparency = TRANSPARENCY | |
362 | - | for _, TableAttachment in pairs(Attachments) do |
362 | + | |
363 | - | if TableAttachment.Name == Name then |
363 | + | |
364 | - | AccessoryWeld.Part1 = TableAttachment.Parent |
364 | + | |
365 | - | AccessoryWeld.C1 = TableAttachment.CFrame |
365 | + | |
366 | NEWPART.Anchored = false | |
367 | end | |
368 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
369 | - | AccessoryWeld.Parent = CloneHandle |
369 | + | |
370 | - | Clone.Parent = CharacterClone |
370 | + | |
371 | NEWPART.Position = Torso.Position | |
372 | - | tableinsert(Accessories, Clone) |
372 | + | |
373 | NEWPART:BreakJoints() | |
374 | - | local IsAMeshPart = CloneHandle:IsA("MeshPart") |
374 | + | |
375 | - | local Mesh = IsAMeshPart and CloneHandle or WaitForClass(CloneHandle, "SpecialMesh") |
375 | + | |
376 | - | local Id = IsAMeshPart and "TextureID" or "TextureId" |
376 | + | |
377 | ||
378 | - | for _, Table in pairs(AccessoryTable) do |
378 | + | --//=================================\\ |
379 | - | local Instance = Table.Instance |
379 | + | --|| CUSTOMIZATION |
380 | --\\=================================// | |
381 | - | if Instance then |
381 | + | |
382 | - | if stringmatch(Mesh.MeshId, Table.Mesh) and stringmatch(Mesh[Id], Table.Texture) and not tablefind(Blacklist, Instance) then |
382 | + | Player_Size = 1.5 --Size of the player. |
383 | - | tableinsert(Blacklist, Instance) |
383 | + | Animation_Speed = 3 |
384 | - | tableinsert(Aligns, { Handle, Instance, Table.CFrame or CFrameidentity }) |
384 | + | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
385 | - | return |
385 | + | |
386 | local Speed = 20 | |
387 | local Effects2 = {} | |
388 | ||
389 | --//=================================\\ | |
390 | - | tableinsert(Aligns, { Handle, CloneHandle, CFrameidentity }) |
390 | + | --|| END OF CUSTOMIZATION |
391 | - | end) |
391 | + | --\\=================================// |
392 | - | elseif Instance:IsA("JointInstance") then |
392 | + | |
393 | - | taskspawn(function() |
393 | + | local function weldBetween(a, b) |
394 | - | taskwait() |
394 | + | local weldd = Instance.new("ManualWeld") |
395 | - | Instance:Destroy() |
395 | + | weldd.Part0 = a |
396 | - | end) |
396 | + | weldd.Part1 = b |
397 | weldd.C0 = CFrame.new() | |
398 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
399 | weldd.Parent = a | |
400 | - | local function CharacterAdded(Character) |
400 | + | return weldd |
401 | - | if Character ~= CharacterClone then |
401 | + | |
402 | - | PostSimulation:Wait() |
402 | + | |
403 | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
404 | - | local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack") |
404 | + | local acs = Instance.new("Part") |
405 | acs.CanCollide = false | |
406 | - | if Backpack then |
406 | + | acs.Anchored = false |
407 | - | Backpack:ClearAllChildren() |
407 | + | acs.Size = Vector3.new(0,0,0) |
408 | acs.CFrame = attachmentpart.CFrame | |
409 | acs.Parent = Character | |
410 | - | tableclear(Aligns) |
410 | + | acs.BrickColor = color |
411 | - | tableclear(Blacklist) |
411 | + | local meshs = Instance.new("SpecialMesh") |
412 | meshs.MeshId = mesh | |
413 | - | for _, Accessory in pairs(Accessories) do |
413 | + | meshs.TextureId = texture |
414 | - | Accessory:Destroy() |
414 | + | meshs.Parent = acs |
415 | meshs.Scale = scale | |
416 | meshs.Offset = offset | |
417 | - | local CurrentCameraCFrame = CurrentCamera.CFrame |
417 | + | weldBetween(attachmentpart,acs) |
418 | end | |
419 | - | LocalPlayer.Character = CharacterClone |
419 | + | |
420 | - | CurrentCamera.CameraSubject = CharacterClone.Head |
420 | + | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) |
421 | if TYPE == "Gem" then | |
422 | - | taskspawn(function() |
422 | + | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) |
423 | - | CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait() |
423 | + | acs.Anchored = false |
424 | - | CurrentCamera.CFrame = CurrentCameraCFrame |
424 | + | acs.CanCollide = false |
425 | - | end) |
425 | + | acs.CFrame = PART.CFrame |
426 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) | |
427 | - | local CharacterHumanoidRootPart = WaitForClassOfName(Character, "BasePart", "HumanoidRootPart") |
427 | + | weldBetween(PART,acs) |
428 | elseif TYPE == "Skull" then | |
429 | - | for Index, Value in pairs(Fling) do |
429 | + | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) |
430 | - | local BasePart = nil |
430 | + | acs.Anchored = false |
431 | acs.CanCollide = false | |
432 | - | if typeof(Value) == "Instance" then |
432 | + | acs.CFrame = PART.CFrame |
433 | - | if Value:IsA("BasePart") then |
433 | + | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) |
434 | - | BasePart = Value |
434 | + | weldBetween(PART,acs) |
435 | - | elseif Value:IsA("Humanoid") then |
435 | + | elseif TYPE == "Eye" then |
436 | - | local Model = Value.Parent |
436 | + | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) |
437 | acs.Anchored = false | |
438 | - | if Model ~= Character and Model:IsA("Model") then |
438 | + | acs.CanCollide = false |
439 | - | BasePart = FindInstance(Model, "BasePart", "HumanoidRootPart") or FindInstance(Model, "BasePart", "Head") or Model:FindFirstChildOfClass("BasePart") |
439 | + | acs.CFrame = PART.CFrame |
440 | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) | |
441 | - | elseif Value:IsA("Model") and Value ~= Character then |
441 | + | weldBetween(PART,acs) |
442 | - | BasePart = FindInstance(Value, "BasePart", "HumanoidRootPart") or FindInstance(Value, "BasePart", "Head") or Value:FindFirstChildOfClass("BasePart") |
442 | + | |
443 | end | |
444 | ||
445 | --//=================================\\ | |
446 | - | if BasePart then |
446 | + | --|| USEFUL VALUES |
447 | - | local clock = osclock() |
447 | + | --\\=================================// |
448 | ||
449 | - | while CharacterHumanoidRootPart and BasePart and osclock() - clock <= 1 and BasePart.AssemblyLinearVelocity.Magnitude <= 60 do |
449 | + | |
450 | - | CharacterHumanoidRootPart.AssemblyAngularVelocity = Velocity |
450 | + | |
451 | - | CharacterHumanoidRootPart.AssemblyLinearVelocity = Velocity |
451 | + | |
452 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
453 | - | CharacterHumanoidRootPart.CFrame = BasePart.CFrame + Vector3new(0, - 1, 0) |
453 | + | local CHANGEDEFENSE = 0 |
454 | - | PostSimulation:Wait() |
454 | + | local CHANGEDAMAGE = 0 |
455 | local CHANGEMOVEMENT = 0 | |
456 | local ANIM = "Idle" | |
457 | local ATTACK = false | |
458 | local EQUIPPED = false | |
459 | - | tableclear(Fling) |
459 | + | local HOLD = false |
460 | local COMBO = 1 | |
461 | - | if CharacterHumanoidRootPart then |
461 | + | local Rooted = false |
462 | - | CharacterHumanoidRootPart.AssemblyAngularVelocity = Vector3zero |
462 | + | |
463 | - | CharacterHumanoidRootPart.AssemblyLinearVelocity = Vector3zero |
463 | + | local HITFLOOR = nil |
464 | local HITPOS = nil | |
465 | - | CharacterHumanoidRootPart.CFrame = CFramenew(HumanoidRootPart.Position + Vector3new(mathrandom(- 32, 32), 0, mathrandom(- 32, 32))) |
465 | + | |
466 | - | PostSimulation:Wait() |
466 | + | local CHANGE = 2 / Animation_Speed |
467 | local WALKINGANIM = false | |
468 | local WALK = 0 | |
469 | - | Character:BreakJoints() |
469 | + | local VALUE1 = false |
470 | local VALUE2 = false | |
471 | - | for _, Instance in pairs(Character:GetDescendants()) do |
471 | + | local ROBLOXIDLEANIMATION = IT("Animation") |
472 | - | DescendantAdded(Instance) |
472 | + | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" |
473 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
474 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
475 | - | Character.DescendantAdded:Connect(DescendantAdded) |
475 | + | local WEAPONGUI = IT("ScreenGui", PlayerGui) |
476 | WEAPONGUI.Name = "Weapon GUI" | |
477 | local Weapon = IT("Model") | |
478 | Weapon.Name = "Adds" | |
479 | - | local function Align(Part0, Part1, CFrame) |
479 | + | local Effects = IT("Folder", Weapon) |
480 | - | if Part0.ReceiveAge == 0 and not Part0.Anchored and # Part0:GetJoints() == 0 then |
480 | + | Effects.Name = "Effects" |
481 | - | Part0.AssemblyAngularVelocity = Vector3new(0, Angular, 0) |
481 | + | local ANIMATOR = Humanoid.Animator |
482 | local ANIMATE = Character.Animate | |
483 | - | local Part1CFrame = Part1.CFrame |
483 | + | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} |
484 | - | local LinearVelocity = Part1.AssemblyLinearVelocity * Linear |
484 | + | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} |
485 | - | local Magnitude = LinearVelocity.Magnitude < Linear |
485 | + | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} |
486 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
487 | - | if Magnitude then |
487 | + | local UNANCHOR = true |
488 | - | local LookVector = Part1CFrame.LookVector * Linear |
488 | + | |
489 | - | Part0.AssemblyLinearVelocity = Vector3new(LookVector.X, Linear, LookVector.Z) |
489 | + | local SKILLTEXTCOLOR = C3(255,255,255) |
490 | ||
491 | - | Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Linear, LinearVelocity.Z) |
491 | + | --//=================================\\ |
492 | --\\=================================// | |
493 | ||
494 | - | Part0.CFrame = Part1CFrame * ( Magnitude and Sleep or CFrameidentity ) * CFrame |
494 | + | |
495 | --//=================================\\ | |
496 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
497 | --\\=================================// | |
498 | - | if Character then |
498 | + | |
499 | - | CharacterAdded(Character) |
499 | + | |
500 | ArtificialHB.Name = "ArtificialHB" | |
501 | ||
502 | - | local Added = LocalPlayer.CharacterAdded:Connect(CharacterAdded) |
502 | + | |
503 | ||
504 | - | local Connection = game:FindFirstChildOfClass("RunService").PostSimulation:Connect(function() |
504 | + | frame = Frame_Speed |
505 | - | local osclock = osclock() |
505 | + | |
506 | - | local Axis = 0.004 * mathcos(osclock * 17.5) |
506 | + | |
507 | tossremainder = false | |
508 | - | Sleep = CFramenew(0, Axis, 0) |
508 | + | |
509 | - | Angular = mathcos(osclock) |
509 | + | |
510 | - | Linear = 26 |
510 | + | |
511 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
512 | - | for _, Table in pairs(Aligns) do |
512 | + | |
513 | - | Align(Table[1], Table[2], Table[3]) |
513 | + | |
514 | if allowframeloss then | |
515 | script.ArtificialHB:Fire() | |
516 | - | if sethiddenproperty then |
516 | + | |
517 | - | sethiddenproperty(LocalPlayer, "SimulationRadius", 10000000) |
517 | + | |
518 | for i = 1, math.floor(tf / frame) do | |
519 | script.ArtificialHB:Fire() | |
520 | - | StarterGui:SetCore("ResetButtonCallback", BindableEvent) -- This is if it gets overriden, just like in MyWorld testing place. |
520 | + | |
521 | lastframe = tick() | |
522 | end | |
523 | - | local function Event() |
523 | + | |
524 | - | CharacterClone:Destroy() |
524 | + | |
525 | else | |
526 | tf = tf - frame * math.floor(tf / frame) | |
527 | - | BindableEvent.Event:Connect(Event) |
527 | + | |
528 | end | |
529 | - | CharacterClone:GetPropertyChangedSignal("Parent"):Connect(function() |
529 | + | |
530 | - | if not CharacterClone.Parent then |
530 | + | |
531 | - | Added:Disconnect() |
531 | + | --//=================================\\ |
532 | - | Connection:Disconnect() |
532 | + | --\\=================================// |
533 | ||
534 | - | CharacterClone:Destroy() |
534 | + | |
535 | ||
536 | - | if BindableEvent then |
536 | + | |
537 | - | BindableEvent:Destroy() |
537 | + | |
538 | --//=================================\\ | |
539 | --|| SOME FUNCTIONS | |
540 | - | StarterGui:SetCore("ResetButtonCallback", true) |
540 | + | --\\=================================// |
541 | ||
542 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
543 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
544 | - | BindableEvent:GetPropertyChangedSignal("Parent"):Connect(Event) |
544 | + | |
545 | ||
546 | - | game:GetService("StarterGui"):SetCore("SendNotification", { |
546 | + | |
547 | - | Title = "Melon's (FE) Converts/Scripts"; |
547 | + | |
548 | - | Text = "Loaded successfully!"; |
548 | + | |
549 | - | Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"}) |
549 | + | |
550 | - | Duration = 3; |
550 | + | |
551 | end | |
552 | ||
553 | - | |
553 | + | |
554 | - | Player = game.Players.LocalPlayer |
554 | + | |
555 | NUMBER = 0 | |
556 | end | |
557 | return NUMBER | |
558 | end | |
559 | - | local script = game:GetObjects("rbxassetid://10561777706")[1] |
559 | + | |
560 | - | local MODULE = script |
560 | + | |
561 | - | local PLAYER = game:GetService("Players").LocalPlayer |
561 | + | |
562 | - | local CHARACTER = Character |
562 | + | |
563 | - | local HUM = CHARACTER.Humanoid |
563 | + | |
564 | for i = 1, NUMBER do | |
565 | - | local ROOT = HUM.Torso |
565 | + | |
566 | - | local HEAD = CHARACTER.Head |
566 | + | |
567 | - | local TORSO = CHARACTER.Torso |
567 | + | |
568 | - | local RIGHTARM = CHARACTER["Right Arm"] |
568 | + | |
569 | - | local LEFTARM = CHARACTER["Left Arm"] |
569 | + | |
570 | - | local RIGHTLEG = CHARACTER["Right Leg"] |
570 | + | |
571 | - | local LEFTLEG = CHARACTER["Left Leg"] |
571 | + | |
572 | - | local ROOTJOINT = ROOT["RootJoint"] |
572 | + | |
573 | - | local NECK = TORSO["Neck"] |
573 | + | |
574 | - | local RIGHTSHOULDER = TORSO["Right Shoulder"] |
574 | + | |
575 | - | local LEFTSHOULDER = TORSO["Left Shoulder"] |
575 | + | |
576 | - | local RIGHTHIP = TORSO["Right Hip"] |
576 | + | |
577 | - | local LEFTHIP = TORSO["Left Hip"] |
577 | + | |
578 | - | local MOUSEPOS = ROOT.Position |
578 | + | |
579 | if m11 > m00 then | |
580 | i = 1 | |
581 | end | |
582 | if m22 > (i == 0 and m00 or m11) then | |
583 | i = 2 | |
584 | end | |
585 | if i == 0 then | |
586 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
587 | local recip = 0.5 / s | |
588 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
589 | elseif i == 1 then | |
590 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
591 | local recip = 0.5 / s | |
592 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
593 | elseif i == 2 then | |
594 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
595 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
596 | end | |
597 | - | Mouse = PLAYER:GetMouse() |
597 | + | |
598 | - | MOUSE = Mouse |
598 | + | |
599 | - | -------------------------------------------------------------- |
599 | + | |
600 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
601 | - | --|| BACKGROUND VALUES |
601 | + | |
602 | local wx, wy, wz = w * xs, w * ys, w * zs | |
603 | local xx = x * xs | |
604 | - | local ANIM_SPEED = 3 |
604 | + | |
605 | - | local MOUSE = Mouse |
605 | + | |
606 | - | local FRAME_SPEED = 1 / 60 -- (1 / 30) OR (1 / 60) |
606 | + | |
607 | - | local CHANGE = 2 / ANIM_SPEED |
607 | + | |
608 | - | local DAMAGEMULTIPLIER = 1 |
608 | + | |
609 | 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)) | |
610 | end | |
611 | - | local MOUSEHOLD = false |
611 | + | |
612 | function QuaternionSlerp(a, b, t) | |
613 | - | local ATTACKING = false |
613 | + | |
614 | - | local Debris = game:GetService("Debris") |
614 | + | |
615 | - | local Effects = IT("Folder",CHARACTER) |
615 | + | |
616 | - | Effects.Name = "FXFolder" |
616 | + | |
617 | local theta = ACOS(cosTheta) | |
618 | local invSinTheta = 1 / SIN(theta) | |
619 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
620 | finishInterp = SIN(t * theta) * invSinTheta | |
621 | else | |
622 | startInterp = 1 - t | |
623 | - | --|| HEARTBEAT |
623 | + | |
624 | end | |
625 | else | |
626 | if (1 + cosTheta) > 0.0001 then | |
627 | local theta = ACOS(-cosTheta) | |
628 | local invSinTheta = 1 / SIN(theta) | |
629 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
630 | finishInterp = SIN(t * theta) * invSinTheta | |
631 | - | frame = FRAME_SPEED |
631 | + | |
632 | startInterp = t - 1 | |
633 | finishInterp = t | |
634 | end | |
635 | end | |
636 | 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 | |
637 | end | |
638 | ||
639 | function Clerp(a, b, t) | |
640 | local qa = {QuaternionFromCFrame(a)} | |
641 | local qb = {QuaternionFromCFrame(b)} | |
642 | - | ArtificialHB:Fire() |
642 | + | |
643 | local bx, by, bz = b.x, b.y, b.z | |
644 | local _t = 1 - t | |
645 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
646 | - | ArtificialHB:Fire() |
646 | + | |
647 | ||
648 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
649 | local frame = IT("Frame") | |
650 | frame.BackgroundTransparency = TRANSPARENCY | |
651 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
652 | frame.Position = POSITION | |
653 | frame.Size = SIZE | |
654 | frame.BackgroundColor3 = COLOR | |
655 | frame.BorderColor3 = BORDERCOLOR | |
656 | frame.Name = NAME | |
657 | frame.Parent = PARENT | |
658 | return frame | |
659 | end | |
660 | ||
661 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
662 | local label = IT("TextLabel") | |
663 | label.BackgroundTransparency = 1 | |
664 | label.Size = UD2(1, 0, 1, 0) | |
665 | label.Position = UD2(0, 0, 0, 0) | |
666 | label.TextColor3 = TEXTCOLOR | |
667 | label.TextStrokeColor3 = C3(1,1,1) | |
668 | label.TextStrokeTransparency = 0 | |
669 | label.TextTransparency = TRANSPARENCY | |
670 | label.FontSize = TEXTFONTSIZE | |
671 | label.Font = TEXTFONT | |
672 | label.BorderSizePixel = BORDERSIZEPIXEL | |
673 | label.TextScaled = false | |
674 | label.Text = TEXT | |
675 | label.Name = NAME | |
676 | label.Parent = PARENT | |
677 | return label | |
678 | end | |
679 | ||
680 | function NoOutlines(PART) | |
681 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
682 | end | |
683 | - | --|| CLERP |
683 | + | |
684 | ||
685 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
686 | local NEWWELD = IT(TYPE) | |
687 | NEWWELD.Part0 = PART0 | |
688 | NEWWELD.Part1 = PART1 | |
689 | NEWWELD.C0 = C0 | |
690 | NEWWELD.C1 = C1 | |
691 | NEWWELD.Parent = PARENT | |
692 | return NEWWELD | |
693 | end | |
694 | ||
695 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
696 | local NEWSOUND = nil | |
697 | coroutine.resume(coroutine.create(function() | |
698 | NEWSOUND = IT("Sound", PARENT) | |
699 | NEWSOUND.Volume = VOLUME | |
700 | NEWSOUND.Pitch = PITCH | |
701 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
702 | Swait() | |
703 | NEWSOUND:play() | |
704 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
705 | end)) | |
706 | return NEWSOUND | |
707 | end | |
708 | ||
709 | function CFrameFromTopBack(at, top, back) | |
710 | local right = top:Cross(back) | |
711 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
712 | end | |
713 | ||
714 | function MakeForm(PART,TYPE) | |
715 | local MSH = nil | |
716 | if TYPE == "Cyl" then | |
717 | MSH = IT("CylinderMesh",PART) | |
718 | elseif TYPE == "Ball" then | |
719 | MSH = IT("SpecialMesh",PART) | |
720 | MSH.MeshType = "Sphere" | |
721 | elseif TYPE == "Wedge" then | |
722 | MSH = IT("SpecialMesh",PART) | |
723 | MSH.MeshType = "Wedge" | |
724 | end | |
725 | return MSH | |
726 | end | |
727 | ||
728 | Debris = game:GetService("Debris") | |
729 | ||
730 | --//=================================\\ | |
731 | --|| WEAPON CREATION | |
732 | --\\=================================// | |
733 | ||
734 | local Hole = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Hole", VT(15,0,15)) | |
735 | local MESH = MakeForm(Hole,"Cyl") | |
736 | ||
737 | for _, c in pairs(Weapon:GetChildren()) do | |
738 | if c.ClassName == "Part" then | |
739 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
740 | end | |
741 | end | |
742 | ||
743 | Weapon.Parent = Character | |
744 | ||
745 | Humanoid.Died:connect(function() | |
746 | ATTACK = true | |
747 | end) | |
748 | ||
749 | ||
750 | ||
751 | --//=================================\\ | |
752 | --|| DAMAGING | |
753 | --\\=================================// | |
754 | ||
755 | function Sink(position,radius) | |
756 | for i,v in ipairs(workspace:GetChildren()) do | |
757 | if v:FindFirstChild("Hit2By"..Player.Name) == nil then | |
758 | local body = v:GetChildren() | |
759 | for part = 1, #body do | |
760 | if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
761 | if(body[part].Position - position).Magnitude < radius then | |
762 | if v.ClassName == "Model" then | |
763 | if v:FindFirstChild("Humanoid") then | |
764 | local defence = Instance.new("BoolValue",v) | |
765 | - | --|| FUNCTIONS |
765 | + | defence.Name = ("Hit2By"..Player.Name) |
766 | if v.Humanoid.Health ~= 0 then | |
767 | local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
768 | - | function WeldParts(A,B) |
768 | + | if TORS ~= nil then |
769 | - | local WLD = IT("ManualWeld") |
769 | + | local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v) |
770 | - | WLD.Part0 = A |
770 | + | coroutine.resume(coroutine.create(function() |
771 | - | WLD.Part1 = B |
771 | + | if HITFLOOR2 ~= nil then |
772 | - | WLD.C1 = B.CFrame:inverse() * A.CFrame |
772 | + | TORS.Anchored = true |
773 | - | WLD.Parent = A |
773 | + | local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(TORS.Size.X*4,0,TORS.Size.X*4)) |
774 | - | return WLD |
774 | + | Hole2.Color = C3(0,0,0) |
775 | local MESH = MakeForm(Hole2,"Cyl") | |
776 | MESH.Scale = VT(0,1,0) | |
777 | - | --NewSound({ID = 0,PARENT = ROOT,VOLUME = 0.5,PITCH = 1,LOOP = false,MAXDISTANCE = 1000,EMITTERSIZE = 10,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true}) |
777 | + | Hole2.CFrame = CF(HITPOS2) |
778 | - | function NewSound(TABLE) |
778 | + | for i = 1, 10 do |
779 | - | local ID = "rbxassetid://"..(TABLE.ID or 0) |
779 | + | Swait() |
780 | - | local PARENT = (TABLE.PARENT or ROOT) |
780 | + | MESH.Scale = MESH.Scale + VT(0.1,0,0.1) |
781 | - | local VOLUME = (TABLE.VOLUME or 0.5) |
781 | + | end |
782 | - | local PITCH = (TABLE.PITCH or 1) |
782 | + | repeat |
783 | - | local LOOP = (TABLE.LOOP or false) |
783 | + | Swait() |
784 | - | local MAXDISTANCE = (TABLE.MAXDISTANCE or 100) |
784 | + | TORS.CFrame = TORS.CFrame * CF(0,-0.1,0) |
785 | - | local EMITTERSIZE = (TABLE.EMITTERSIZE or 10) |
785 | + | until TORS.Position.Y<position.Y-4 |
786 | - | local PLAYING = (TABLE.PLAYING or true) |
786 | + | v:remove() |
787 | - | local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false) |
787 | + | for i = 1, 10 do |
788 | - | local DOESDEBRIS = (TABLE.DOESDEBRIS or true) |
788 | + | Swait() |
789 | - | if ID ~= "rbxassetid://0" then |
789 | + | MESH.Scale = MESH.Scale - VT(0.1,0,0.1) |
790 | - | local SOUND = IT("Sound",PARENT) |
790 | + | end |
791 | - | SOUND.SoundId = ID |
791 | + | Hole2:remove() |
792 | - | SOUND.Volume = VOLUME |
792 | + | end |
793 | - | SOUND.Pitch = PITCH |
793 | + | end)) |
794 | - | SOUND.Looped = LOOP |
794 | + | end |
795 | - | SOUND.MaxDistance = MAXDISTANCE |
795 | + | end |
796 | - | SOUND.EmitterSize = EMITTERSIZE |
796 | + | end |
797 | - | SOUND.PlayOnRemove = PLAYONREMOVE |
797 | + | |
798 | - | if DOESDEBRIS == true and PLAYING == true and LOOP == false then |
798 | + | --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength |
799 | - | Debris:AddItem(SOUND,SOUND.TimeLength+5) |
799 | + | |
800 | end | |
801 | - | if PLAYING == true then |
801 | + | |
802 | - | SOUND:Play() |
802 | + | end |
803 | end | |
804 | - | return SOUND |
804 | + | |
805 | ||
806 | --//=================================\\ | |
807 | --|| ATTACK FUNCTIONS AND STUFF | |
808 | - | function OofOuchBlood(LOCATION,TO,AMOUNT) |
808 | + | --\\=================================// |
809 | - | local P = CreatePart(3, Effects, "Granite", 0, 1, BRICKC("Pearl"), "Blood", VT(0,0,0), true) |
809 | + | |
810 | - | P.CFrame = CF(LOCATION,TO) |
810 | + | function Trail(Part) |
811 | - | local BLOOD = MODULE.Blood:Clone() |
811 | + | local TRAIL = Part:Clone() |
812 | - | BLOOD.Parent = P |
812 | + | TRAIL.CanCollide = false |
813 | - | BLOOD:Emit(AMOUNT) |
813 | + | TRAIL.Anchored = true |
814 | - | Debris:AddItem(P,2) |
814 | + | TRAIL.Parent = Effects |
815 | TRAIL.Name = "Trail" | |
816 | local TRANS = Part.Transparency | |
817 | coroutine.resume(coroutine.create(function() | |
818 | for i = 1, 20 do | |
819 | Swait() | |
820 | TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20) | |
821 | end | |
822 | TRAIL:remove() | |
823 | end)) | |
824 | end | |
825 | ||
826 | function AttackTemplate() | |
827 | ATTACK = true | |
828 | Rooted = false | |
829 | for i=0, 1, 0.1 / Animation_Speed do | |
830 | Swait() | |
831 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
832 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
833 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
834 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
835 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
836 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
837 | end | |
838 | ATTACK = false | |
839 | Rooted = false | |
840 | end | |
841 | ||
842 | function Intro() | |
843 | coroutine.resume(coroutine.create(function() | |
844 | ATTACK = true | |
845 | Rooted = true | |
846 | UNANCHOR = false | |
847 | RootPart.Anchored = true | |
848 | - | NEWPART.Position = ROOT.Position |
848 | + | for i=0, 2, 0.1 / Animation_Speed do |
849 | Swait() | |
850 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
851 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
852 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
853 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
854 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
855 | - | function Raycast(POSITION, DIRECTION, RANGE, TABLE) |
855 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
856 | - | local TABLE = ((type(TABLE) == "table" and TABLE) or {TABLE}) |
856 | + | |
857 | - | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(POSITION, DIRECTION * RANGE), TABLE) |
857 | + | for i=0, 4, 0.1 / Animation_Speed do |
858 | Swait() | |
859 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
860 | - | function CameraShake(AREA,RANGE,SHAKE,TIMER) |
860 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
861 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
862 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
863 | - | --Debree({Delay = 1.5,Variant = "",Location = ROOT.Position,Color = C3(1,1,1),Size = 1,Distance = 1,Material = "Slate",Scatter = 1,Amount = 1,DebreeCount = 1}) |
863 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
864 | - | function Debree(Table) |
864 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
865 | - | local KindOf = (Table.Variant or "Ring") |
865 | + | |
866 | - | local Position = (Table.Location or ROOT.Position) |
866 | + | VALUE1 = true |
867 | - | local Coloration = (Table.Color or C3(1,1,1)) |
867 | + | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false) |
868 | - | local Texture = (Table.Material or "Slate") |
868 | + | local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0)) |
869 | - | local Fling = (Table.Scatter or 1) |
869 | + | MakeForm(part,"Ball") |
870 | - | local Number = (Table.Amount or 1) |
870 | + | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false) |
871 | - | local Rocks = (Table.DebreeCount or 1) |
871 | + | local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(-0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0)) |
872 | - | local Range = (Table.Distance or 1) |
872 | + | MakeForm(part,"Ball") |
873 | - | local Scale = (Table.Size or 1) |
873 | + | Swait(15) |
874 | - | local Timer = (Table.Delay or 1.5) |
874 | + | Humanoid.HipHeight = 2 |
875 | sick:Play() | |
876 | - | local ScaleVector = VT(Scale,Scale,Scale) |
876 | + | CreateSound("649634100", Head, 10, 0.6) |
877 | - | local Boulders = {} |
877 | + | for i=0, 2, 0.1 / Animation_Speed do |
878 | - | Position = CF(Position) |
878 | + | |
879 | - | if KindOf == "Ring" or KindOf == "Both" then |
879 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
880 | - | for RockValue = 1, Number do |
880 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
881 | - | local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),Range) |
881 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
882 | - | local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true) |
882 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
883 | - | BOULDER.CanCollide = true |
883 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed) |
884 | - | BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
884 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed) |
885 | - | BOULDER.Color = Coloration |
885 | + | |
886 | - | table.insert(Boulders,BOULDER) |
886 | + | UNANCHOR = true |
887 | ATTACK = false | |
888 | Rooted = false | |
889 | - | if KindOf == "Loose" or KindOf == "Both" then |
889 | + | |
890 | - | for RockValue = 1, Rocks do |
890 | + | |
891 | - | local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale-(Scale/2)),math.ceil(Scale-(Scale/2))),0.7) |
891 | + | |
892 | - | local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false) |
892 | + | function Warp() |
893 | - | BOULDER.CanCollide = true |
893 | + | ATTACK = true |
894 | - | BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
894 | + | Rooted = true |
895 | - | BOULDER.Velocity = CF(BOULDER.Position-VT(0,4,0),BOULDER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,5,0).p).lookVector*MRANDOM(Fling-(Fling/1.5),Fling+(Fling/1.5)) |
895 | + | UNANCHOR = false |
896 | - | BOULDER.Color = Coloration |
896 | + | RootPart.Anchored = true |
897 | - | table.insert(Boulders,BOULDER) |
897 | + | for i=0, 1, 0.1 / Animation_Speed do |
898 | Swait() | |
899 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)), 1 / Animation_Speed) | |
900 | - | if KindOf == "Random" then |
900 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
901 | - | for RockValue = 1, Number do |
901 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
902 | - | local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),MRANDOM(0,Range)) |
902 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
903 | - | local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true) |
903 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed) |
904 | - | BOULDER.CanCollide = true |
904 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed) |
905 | - | BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
905 | + | |
906 | - | BOULDER.Color = Coloration |
906 | + | for i=0, 1, 0.1 / Animation_Speed do |
907 | - | table.insert(Boulders,BOULDER) |
907 | + | |
908 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -15) * ANGLES(RAD(180), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
909 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
910 | - | wait(Timer) |
910 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
911 | - | for E = 1, 45 do |
911 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
912 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
913 | - | for A = 1, #Boulders do |
913 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed) |
914 | - | Boulders[A].Transparency = Boulders[A].Transparency + 1/45 |
914 | + | |
915 | for i = 1, 50 do | |
916 | Swait() | |
917 | - | for A = 1, #Boulders do |
917 | + | Trail(Hole) |
918 | - | Boulders[A]:Destroy() |
918 | + | MESH.Scale = MESH.Scale - VT(0.02,0,0.02) |
919 | end | |
920 | local ORIGINPOS = RootPart.Position | |
921 | RootPart.CFrame = CF(VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z),ORIGINPOS) | |
922 | CreateSound("466493476", Hole, 10, 1) | |
923 | - | function Chatter(Text,Timer) |
923 | + | for i = 1, 50 do |
924 | - | local chat = coroutine.wrap(function() |
924 | + | |
925 | - | if CHARACTER:FindFirstChild("SpeechBoard")~= nil then |
925 | + | MESH.Scale = MESH.Scale + VT(0.02,0,0.02) |
926 | - | CHARACTER:FindFirstChild("SpeechBoard"):destroy() |
926 | + | |
927 | for i=0, 2, 0.1 / Animation_Speed do | |
928 | - | local naeeym2 = IT("BillboardGui",CHARACTER) |
928 | + | |
929 | - | naeeym2.Size = UD2(0,100,0,40) |
929 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
930 | - | naeeym2.StudsOffset = Vector3.new(0,2,0) |
930 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
931 | - | naeeym2.Adornee = HEAD |
931 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
932 | - | naeeym2.Name = "SpeechBoard" |
932 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
933 | - | naeeym2.AlwaysOnTop = true |
933 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed) |
934 | - | local tecks2 = IT("TextLabel",naeeym2) |
934 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed) |
935 | - | tecks2.BackgroundTransparency = 1 |
935 | + | |
936 | - | tecks2.BorderSizePixel = 0 |
936 | + | UNANCHOR = true |
937 | - | tecks2.Text = "" |
937 | + | ATTACK = false |
938 | - | tecks2.Font = "Legacy" |
938 | + | Rooted = false |
939 | - | tecks2.TextSize = 15 |
939 | + | |
940 | - | tecks2.TextStrokeTransparency = 0 |
940 | + | |
941 | - | tecks2.TextColor3 = Color3.new(1,1,1) |
941 | + | function Sinkhole() |
942 | - | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
942 | + | |
943 | - | tecks2.Size = UDim2.new(1,0,0.5,0) |
943 | + | local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(15,0,15)) |
944 | - | for i = 1,string.len(Text),1 do |
944 | + | Hole2.Color = C3(0,0,0) |
945 | - | if naeeym2.Parent ~= CHARACTER then |
945 | + | local MESH = MakeForm(Hole2,"Cyl") |
946 | - | break |
946 | + | MESH.Scale = VT(0,1,0) |
947 | Hole2.CFrame = CF(Mouse.Hit.p) | |
948 | - | NewSound({ID = 418252437,PARENT = HEAD,VOLUME = 1,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 75,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true}) |
948 | + | CreateSound("466493476", Hole2, 10, 1) |
949 | - | tecks2.Text = string.sub(Text,1,i) |
949 | + | for i = 1, 50 do |
950 | - | wait(Timer) |
950 | + | |
951 | MESH.Scale = MESH.Scale + VT(0.02,0,0.02) | |
952 | - | wait(1) |
952 | + | |
953 | - | naeeym2:Destroy() |
953 | + | for i = 1, 200 do |
954 | Swait() | |
955 | - | chat() |
955 | + | Sink(Hole2.Position,Hole2.Size.X/2.2) |
956 | end | |
957 | Swait(100) | |
958 | - | function SpawnPuddle(POSITION,IGNR,GOO) |
958 | + | for i = 1, 50 do |
959 | - | local HIT,POS,NOR = Raycast(POSITION, CFrame.new(POSITION,POSITION-Vector3.new(0,1,0)).lookVector, 12, {IGNR,CHARACTER}) |
959 | + | |
960 | - | if HIT then |
960 | + | Trail(Hole2) |
961 | - | coroutine.resume(coroutine.create(function() |
961 | + | MESH.Scale = MESH.Scale - VT(0.02,0,0.02) |
962 | - | local GOREPART = CreatePart(3, Effects, "Slate", 0, 1, "Pearl", "Gore", VT(3,0,3), true) |
962 | + | |
963 | - | local SURFACE = script.PuddleSurface:Clone() |
963 | + | Hole2:remove() |
964 | - | SURFACE.Parent = GOREPART |
964 | + | |
965 | - | if GOO == true then |
965 | + | |
966 | - | SURFACE.Image.ImageColor3 = C3(0,0,0) |
966 | + | |
967 | function AbyssGate() | |
968 | - | GOREPART.CFrame = CFrame.new(POS,POS+NOR)*CFrame.Angles(math.rad(-90),math.rad(math.random(0,360)),0) |
968 | + | VALUE2 = true |
969 | - | for i = 1, math.random(25,65) do |
969 | + | |
970 | - | Swait() |
970 | + | CreateSound("466493476", Hole, 10, 0.1) |
971 | - | GOREPART.Size = GOREPART.Size + Vector3.new(0.1,0,0.1) |
971 | + | for i = 1, 500 do |
972 | Swait() | |
973 | - | wait(math.random(10,25)/50) |
973 | + | Hole.Size = Hole.Size + VT(1,0,1) |
974 | - | for i = 1, 25 do |
974 | + | |
975 | - | Swait() |
975 | + | Swait(100) |
976 | - | SURFACE.Image.ImageTransparency = SURFACE.Image.ImageTransparency + 1/25 |
976 | + | for i = 1, 500 do |
977 | Swait() | |
978 | - | GOREPART:Remove() |
978 | + | Trail(Hole) |
979 | - | end)) |
979 | + | Hole.Size = Hole.Size - VT(1,0,1) |
980 | end | |
981 | VALUE2 = false | |
982 | end)) | |
983 | - | function Dismember(MAN,DOWHAT) |
983 | + | |
984 | ||
985 | --//=================================\\ | |
986 | --|| ASSIGN THINGS TO KEYS | |
987 | - | function Speak(ID) |
987 | + | --\\=================================// |
988 | ||
989 | function MouseDown(Mouse) | |
990 | if ATTACK == false then | |
991 | - | --|| CHARACTER |
991 | + | |
992 | end | |
993 | ||
994 | - | local ARMOR = IT("Model",CHARACTER) |
994 | + | function MouseUp(Mouse) |
995 | - | ARMOR.Name = "Goner" |
995 | + | HOLD = false |
996 | - | local PARTS = {} |
996 | + | |
997 | ||
998 | - | local SWORD = MODULE.Sword |
998 | + | function KeyDown(Key) |
999 | - | SWORD.Parent = ARMOR |
999 | + | KEYHOLD = true |
1000 | - | SWORD.Anchored = false |
1000 | + | if Key == "q" and ATTACK == false and HITFLOOR ~= nil and VALUE2 == false then |
1001 | - | SWORD.Transparency = 1 |
1001 | + | Warp() |
1002 | - | local GRIPC0 = CF(0,-0.9,0)*ANGLES(RAD(90),RAD(90),0) |
1002 | + | |
1003 | - | local HOLD = IT("ManualWeld") |
1003 | + | |
1004 | - | HOLD.Part0 = RIGHTARM |
1004 | + | if Key == "e" and ATTACK == false then |
1005 | - | HOLD.Part1 = SWORD |
1005 | + | Sinkhole() |
1006 | - | HOLD.C0 = GRIPC0 |
1006 | + | |
1007 | - | HOLD.C1 = CF(0,-SWORD.Size.Y/3,0) |
1007 | + | |
1008 | - | HOLD.Parent = RIGHTARM |
1008 | + | if Key == "r" and ATTACK == false and VALUE2 == false then |
1009 | - | HOLD.Name = "GripWeld" |
1009 | + | AbyssGate() |
1010 | - | local TRAIL = SWORD.Trail |
1010 | + | |
1011 | - | local SOUND_SNAP = 150315649 |
1011 | + | |
1012 | - | local SUBMERGED = false |
1012 | + | if Key == "t" and ATTACK == false then |
1013 | - | table.insert(PARTS,SWORD) |
1013 | + | CreateSound("649634100", Head, 10, 0.6) |
1014 | - | local GUI = MODULE.ControlsGUI |
1014 | + | |
1015 | - | GUI.Parent = PLAYER.PlayerGui |
1015 | + | |
1016 | - | GUI.ToggleButton.MouseButton1Click:Connect(function() |
1016 | + | |
1017 | - | if GUI.ToggleButton.Controls.Visible == false then |
1017 | + | function KeyUp(Key) |
1018 | - | GUI.ToggleButton.Controls.Visible = true |
1018 | + | KEYHOLD = false |
1019 | - | elseif GUI.ToggleButton.Controls.Visible == true then |
1019 | + | |
1020 | - | GUI.ToggleButton.Controls.Visible = false |
1020 | + | |
1021 | Mouse.Button1Down:connect(function(NEWKEY) | |
1022 | MouseDown(NEWKEY) | |
1023 | end) | |
1024 | Mouse.Button1Up:connect(function(NEWKEY) | |
1025 | - | --|| ABILITIES |
1025 | + | MouseUp(NEWKEY) |
1026 | end) | |
1027 | Mouse.KeyDown:connect(function(NEWKEY) | |
1028 | - | function Slash() |
1028 | + | KeyDown(NEWKEY) |
1029 | - | ATTACKING = true |
1029 | + | |
1030 | - | for i=0, 0.2, 0.1 / ANIM_SPEED do |
1030 | + | Mouse.KeyUp:connect(function(NEWKEY) |
1031 | KeyUp(NEWKEY) | |
1032 | - | ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED) |
1032 | + | |
1033 | - | NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED) |
1033 | + | |
1034 | - | RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 2 / ANIM_SPEED) |
1034 | + | --//=================================\\ |
1035 | - | HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 2 / ANIM_SPEED) |
1035 | + | --\\=================================// |
1036 | - | LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED) |
1036 | + | |
1037 | - | RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED) |
1037 | + | |
1038 | - | LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED) |
1038 | + | function unanchor() |
1039 | if UNANCHOR == true then | |
1040 | - | TRAIL.Enabled = true |
1040 | + | g = Character:GetChildren() |
1041 | - | NewSound({ID = 211059653,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true}) |
1041 | + | for i = 1, #g do |
1042 | - | for i=0, 0.1, 0.1 / ANIM_SPEED do |
1042 | + | if g[i].ClassName == "Part" then |
1043 | g[i].Anchored = false | |
1044 | - | ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED) |
1044 | + | |
1045 | - | NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED) |
1045 | + | |
1046 | - | RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED) |
1046 | + | |
1047 | - | HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED) |
1047 | + | |
1048 | - | LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED) |
1048 | + | |
1049 | - | RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED) |
1049 | + | |
1050 | - | LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED) |
1050 | + | --//=================================\\ |
1051 | --|| WRAP THE WHOLE SCRIPT UP | |
1052 | - | for index, CHILD in pairs(workspace:GetChildren()) do |
1052 | + | --\\=================================// |
1053 | - | if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then |
1053 | + | |
1054 | - | local HUMAN = CHILD:FindFirstChildOfClass("Humanoid") |
1054 | + | Humanoid.Changed:connect(function(Jump) |
1055 | - | local ROOT2 = HUMAN.Torso |
1055 | + | if Jump == "Jump" and (Disable_Jump == true) then |
1056 | - | if ROOT2 and HUMAN.Health > 0 then |
1056 | + | Humanoid.Jump = false |
1057 | - | if (ROOT2.Position - ROOT.CFrame*CF(0,0,-2).p).Magnitude < 4.5 then |
1057 | + | |
1058 | - | local HEAD = CHILD:FindFirstChild("Head") |
1058 | + | |
1059 | - | if HEAD then |
1059 | + | |
1060 | - | local FACE = HEAD:FindFirstChild("face") |
1060 | + | Speed = 10 |
1061 | - | if FACE then |
1061 | + | |
1062 | - | FACE.Texture = "http://www.roblox.com/asset/?id=145854465" |
1062 | + | |
1063 | - | FACE.Transparency = 0.5 |
1063 | + | |
1064 | ANIMATE.Parent = nil | |
1065 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
1066 | - | Dismember(CHILD,"Ragdoll") |
1066 | + | IDLEANIMATION:Play() |
1067 | - | Dismember(CHILD,"Head") |
1067 | + | |
1068 | - | NewSound({ID = 264486467,PARENT = ROOT2,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true}) |
1068 | + | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude |
1069 | - | NewSound({ID = SOUND_SNAP,PARENT = ROOT2,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true}) |
1069 | + | local TORSOVERTICALVELOCITY = RootPart.Velocity.y |
1070 | - | for i = 1, 7 do |
1070 | + | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) |
1071 | - | OofOuchBlood(ROOT2.Position,CF(ROOT2.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45) |
1071 | + | HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25 * Player_Size, Character) |
1072 | if ATTACK == false then | |
1073 | - | coroutine.resume(coroutine.create(function() |
1073 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1074 | - | for i = 1, 25 do |
1074 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1075 | - | SpawnPuddle(ROOT2.Position,CHILD,false) |
1075 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1076 | - | Swait() |
1076 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1077 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed) | |
1078 | - | end)) |
1078 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(25)), 0.15 / Animation_Speed) |
1079 | end | |
1080 | if HITFLOOR ~= nil then | |
1081 | Hole.CFrame = CF(HITPOS) | |
1082 | end | |
1083 | - | for i=0, 0.3, 0.1 / ANIM_SPEED do |
1083 | + | Sink(Hole.Position,Hole.Size.X/2.2*MESH.Scale.X) |
1084 | Hole.Color = C3(0,0,0) | |
1085 | - | ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED) |
1085 | + | unanchor() |
1086 | - | NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED) |
1086 | + | Humanoid.MaxHealth = "inf" |
1087 | - | RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED) |
1087 | + | Humanoid.Health = "inf" |
1088 | - | HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED) |
1088 | + | if Rooted == false then |
1089 | - | LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED) |
1089 | + | Disable_Jump = false |
1090 | - | RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED) |
1090 | + | Humanoid.WalkSpeed = Speed |
1091 | - | LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED) |
1091 | + | elseif Rooted == true then |
1092 | Disable_Jump = true | |
1093 | - | TRAIL.Enabled = false |
1093 | + | Humanoid.WalkSpeed = 0 |
1094 | - | ATTACKING = false |
1094 | + | |
1095 | if VALUE1 == true then | |
1096 | Humanoid.HipHeight = 2 | |
1097 | - | function Execute(INPUT) |
1097 | + | q = Character:GetChildren() |
1098 | - | local TARGET = nil |
1098 | + | for u = 1, #q do |
1099 | - | local DIST = 6 |
1099 | + | if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then |
1100 | - | for index, CHILD in pairs(workspace:GetChildren()) do |
1100 | + | q[u]:remove() |
1101 | - | if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then |
1101 | + | elseif q[u].ClassName == "Shirt" then |
1102 | - | local HUMAN = CHILD:FindFirstChildOfClass("Humanoid") |
1102 | + | q[u]:Destroy() |
1103 | - | local ROOT2 = HUMAN.Torso |
1103 | + | elseif q[u].ClassName == "Pants" then |
1104 | - | if ROOT2 and HUMAN.Health > 0 then |
1104 | + | q[u]:Destroy() |
1105 | - | if (ROOT2.Position - ROOT.Position).Magnitude < DIST then |
1105 | + | elseif q[u].ClassName == "CharacterMesh" then |
1106 | - | TARGET = CHILD |
1106 | + | q[u]:remove() |
1107 | - | DIST = (ROOT2.Position - ROOT.Position).Magnitude |
1107 | + | elseif q[u].ClassName == "ShirtGraphic" then |
1108 | q[u]:remove() | |
1109 | elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
1110 | q[u].Color = Color3.new(0,0,0) | |
1111 | q[u].Material = "Neon" | |
1112 | - | if TARGET and (SUBMERGED == false or ((INPUT == "x" or INPUT == "z" or INPUT == "c") and SUBMERGED == true)) then |
1112 | + | |
1113 | - | local DedFace = function() |
1113 | + | |
1114 | - | local HEAD = TARGET:FindFirstChild("Head") |
1114 | + | if Head:FindFirstChild("Mesh") then |
1115 | - | if HEAD then |
1115 | + | local mesh = Head.Mesh |
1116 | - | local FACE = HEAD:FindFirstChild("face") |
1116 | + | if mesh.ClassName == "SpecialMesh" then |
1117 | - | if FACE then |
1117 | + | mesh:remove() |
1118 | - | FACE.Texture = "http://www.roblox.com/asset/?id=145854465" |
1118 | + | local m = IT("BlockMesh",Head) |
1119 | - | FACE.Transparency = 0.5 |
1119 | + | m.Scale = VT(0.5,1,1) |
1120 | end | |
1121 | end | |
1122 | if Head:FindFirstChild("face") then | |
1123 | - | local TARGETSTATIC = nil |
1123 | + | Head.face:remove() |
1124 | - | if game:GetService("Players"):GetPlayerFromCharacter(TARGET) then |
1124 | + | |
1125 | - | TARGETSTATIC = script.GonerStatic:Clone() |
1125 | + | |
1126 | - | TARGETSTATIC.Parent = game:GetService("Players"):GetPlayerFromCharacter(TARGET).PlayerGui |
1126 | + | if VALUE1 == false and ATTACK == false then |
1127 | - | local SOUND = NewSound({ID = 2737898305,PARENT = TARGETSTATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false}) |
1127 | + | Intro() |
1128 | - | SOUND.Name = "Static" |
1128 | + | |
1129 | end | |
1130 | - | TARGETSTATIC.Script.Disabled = false |
1130 | + | |
1131 | --//=================================\\ | |
1132 | - | local STATIC = script.GonerStatic:Clone() |
1132 | + | --\\=================================// |
1133 | - | STATIC.Parent = PLAYER.PlayerGui |
1133 | + | |
1134 | - | local SOUND = NewSound({ID = 2737898305,PARENT = STATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false}) |
1134 | + | |
1135 | - | SOUND.Name = "Static" |
1135 | + | |
1136 | ||
1137 | - | STATIC.Script.Disabled = false |
1137 | + | |
1138 | - | local TARGETTORSO = TARGET:FindFirstChild("Torso") or TARGET:FindFirstChild("UpperTorso") |
1138 | + | |
1139 | - | local GRABA = IT("Attachment",LEFTARM) |
1139 | + | --|| END OF SCRIPT |
1140 | - | GRABA.Position = VT(0,-1.5,0) |
1140 | + | --\\====================================================//-- |