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