SHOW:
|
|
- or go back to the newest paste.
1 | ------------------------------------------------------------------------------------------------------------------------ | |
2 | --I SCREAM, YOU SCREAM, WE ALL SCREAM, RUNNING AWAY IN A FUTILE ATTEMPT TO ESCAPE FROM THE INEVITABLE ARRIVAL OF DEATH-- | |
3 | ------------------------------------------------------------------------------------------------------------------------ | |
4 | --By CKbackup (Sugarie Saffron) -- | |
5 | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- | |
6 | --Discord: Sugarie Saffron#4705 -- | |
7 | ---------------------------------------------------------------- | |
8 | ||
9 | print([[ | |
10 | --Ice Cream-- | |
11 | By CKbackup (Sugarie Saffron) | |
12 | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw | |
13 | Discord: Sugarie Saffron#4705 | |
14 | -------------------------------- | |
15 | As I've been demoted from my SB | |
16 | Mod rank in VSB, I don't see the | |
17 | need to hold this back any longer. | |
18 | ||
19 | Also, if the anims look weird or | |
20 | the weapon looks out of place, | |
21 | it's because it's actually modeled | |
22 | off a scaled rig with a package. | |
23 | It looks better with the Boy | |
24 | package. | |
25 | -------------------------------- | |
26 | (Keys) | |
27 | M - Mute/Play Music | |
28 | ||
29 | Click - Slash | |
30 | (Aerial Slash when jumping) | |
31 | Z - Freezing Bullet | |
32 | X - Thy Winter Shall Come Forth | |
33 | C - Blizzard o' Death | |
34 | ]]) | |
35 | ||
36 | wait(1/60) | |
37 | Effects = { } | |
38 | local Player = game:service'Players'.localPlayer | |
39 | local chara = Player.Character | |
40 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
41 | local Mouse = Player:GetMouse() | |
42 | local LeftArm = chara["Left Arm"] | |
43 | local RightArm = chara["Right Arm"] | |
44 | local LeftLeg = chara["Left Leg"] | |
45 | local RightLeg = chara["Right Leg"] | |
46 | local Head = chara.Head | |
47 | local Torso = chara.Torso | |
48 | local Camera = workspace.CurrentCamera | |
49 | local RootPart = chara.HumanoidRootPart | |
50 | local RootJoint = RootPart.RootJoint | |
51 | local attack = false | |
52 | local Anim = 'Idle' | |
53 | local attacktype = 1 | |
54 | local delays = false | |
55 | local play = true | |
56 | local targetted = nil | |
57 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
58 | local velocity = RootPart.Velocity.y | |
59 | local sine = 0 | |
60 | local change = 1 | |
61 | local doe = 0 | |
62 | local Create = LoadLibrary("RbxUtility").Create | |
63 | local debby = game:GetService("Debris") | |
64 | Humanoid.WalkSpeed = 16 | |
65 | ||
66 | Humanoid.Animator.Parent = nil | |
67 | chara.Animate.Parent = nil | |
68 | ||
69 | local newMotor = function(part0, part1, c0, c1) | |
70 | local w = Create('Motor'){ | |
71 | Parent = part0, | |
72 | Part0 = part0, | |
73 | Part1 = part1, | |
74 | C0 = c0, | |
75 | C1 = c1, | |
76 | } | |
77 | return w | |
78 | end | |
79 | ||
80 | function clerp(a, b, t) | |
81 | return a:lerp(b, t) | |
82 | end | |
83 | ||
84 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
85 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
86 | ||
87 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
88 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
89 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
90 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
91 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
92 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
93 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
94 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
95 | ||
96 | local rarmc1 = RW.C1 | |
97 | local larmc1 = LW.C1 | |
98 | local rlegc1 = RH.C1 | |
99 | local llegc1 = LH.C1 | |
100 | ||
101 | local resetc1 = false | |
102 | ||
103 | function PlayAnimationFromTable(table, speed, bool) | |
104 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
105 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
106 | RW.C0 = clerp(RW.C0, table[3], speed) | |
107 | LW.C0 = clerp(LW.C0, table[4], speed) | |
108 | RH.C0 = clerp(RH.C0, table[5], speed) | |
109 | LH.C0 = clerp(LH.C0, table[6], speed) | |
110 | if bool == true then | |
111 | if resetc1 == false then | |
112 | resetc1 = true | |
113 | RootJoint.C1 = RootJoint.C1 | |
114 | Torso.Neck.C1 = Torso.Neck.C1 | |
115 | LW.C1 = larmc1 | |
116 | RW.C1 = rarmc1 | |
117 | RH.C1 = rlegc1 | |
118 | LH.C1 = llegc1 | |
119 | end | |
120 | end | |
121 | end | |
122 | ||
123 | - | ArtificialHB = Instance.new("BindableEvent", script) |
123 | + | |
124 | - | ArtificialHB.Name = "Heartbeat" |
124 | + | local heartbeat = game:GetService("RunService").Heartbeat:wait() |
125 | - | script:WaitForChild("Heartbeat") |
125 | + | local framerate = 30 |
126 | - | frame = 0.03333333333333 |
126 | + | local heartbeat1 = math.random(1,2) |
127 | - | tf = 0 |
127 | + | if heartbeat1 == 1 then |
128 | - | allowframeloss = false |
128 | + | game:GetService("RunService").Heartbeat:wait() |
129 | - | tossremainder = false |
129 | + | elseif heartbeat1 == 2 then |
130 | - | lastframe = tick() |
130 | + | game:GetService("RunService").Heartbeat:wait() |
131 | - | script.Heartbeat:Fire() |
131 | + | end |
132 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
132 | + | end |
133 | - | tf = tf + s |
133 | + | |
134 | - | if tf >= frame then |
134 | + | |
135 | - | if allowframeloss then |
135 | + | |
136 | - | script.Heartbeat:Fire() |
136 | + | |
137 | - | lastframe = tick() |
137 | + | |
138 | function so(id,par,pit,vol) | |
139 | - | for i = 1, math.floor(tf / frame) do |
139 | + | |
140 | - | script.Heartbeat:Fire() |
140 | + | |
141 | sou.Parent = chara.Torso | |
142 | - | lastframe = tick() |
142 | + | |
143 | sou.Volume = vol | |
144 | - | if tossremainder then |
144 | + | |
145 | - | tf = 0 |
145 | + | |
146 | sou.PlayOnRemove = true | |
147 | - | tf = tf - frame * math.floor(tf / frame) |
147 | + | |
148 | end | |
149 | ||
150 | New = function(Object, Parent, Name, Data) | |
151 | local Object = Instance.new(Object) | |
152 | - | if num == 0 or num == nil then |
152 | + | |
153 | - | ArtificialHB.Event:wait() |
153 | + | |
154 | end | |
155 | - | for i = 0, num do |
155 | + | |
156 | - | ArtificialHB.Event:wait() |
156 | + | |
157 | return Object | |
158 | end | |
159 | ||
160 | ISCREAM = New("Model",chara,"ISCREAM",{}) | |
161 | KonuHandaru = New("Part",ISCREAM,"KonuHandaru",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 1, 0.600000024),CFrame = CFrame.new(-47.8000031, 6.70001078, -63.9999924, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
162 | Mesh = New("SpecialMesh",KonuHandaru,"Mesh",{Scale = Vector3.new(0.5, 0.699999988, 0.5),MeshId = "http://www.roblox.com/asset/?id=1778999",TextureId = "http://www.roblox.com/asset/?id=20403465",MeshType = Enum.MeshType.FileMesh,}) | |
163 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.70004463, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),}) | |
164 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
165 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.00003409, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
166 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.50004387, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),}) | |
167 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
168 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.80003309, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
169 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.30004692, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),}) | |
170 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
171 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.60003614, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
172 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.10004234, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),}) | |
173 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
174 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.40003109, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
175 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.50004387, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),}) | |
176 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
177 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.80003309, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
178 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.90004539, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),}) | |
179 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
180 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.20003414, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
181 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.7000103, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),}) | |
182 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
183 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.999999762, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
184 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.9000082, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),}) | |
185 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
186 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.19999766, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
187 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.10001087, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),}) | |
188 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
189 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.39999986, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
190 | Part = New("Part",ISCREAM,"Part",{Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(-47.8000031, 11.2658768, -64.0939636, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
191 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006),MeshId = "http://www.roblox.com/asset/?id=104783233 ",TextureId = "http://www.roblox.com/asset/?id=104783391 ",MeshType = Enum.MeshType.FileMesh,}) | |
192 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),C1 = CFrame.new(0, -4.56586552, 0.0939674377, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
193 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.1000443, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),}) | |
194 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
195 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.400033, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
196 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.7000446, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),}) | |
197 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
198 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -4.00003433, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
199 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.5000448, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),}) | |
200 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
201 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.80003405, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
202 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.90004349, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),}) | |
203 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
204 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.20003319, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
205 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.70004654, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),}) | |
206 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
207 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.00003624, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
208 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.3000431, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),}) | |
209 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
210 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.60003233, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
211 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.30001068, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),}) | |
212 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
213 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.59999967, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
214 | Hitoboksu = New("Part",ISCREAM,"Hitoboksu",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 4.29999876, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.4500103, -63.9999924, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
215 | Weld = New("ManualWeld",Hitoboksu,"Weld",{Part0 = Hitoboksu,Part1 = KonuHandaru,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, -2.74999952, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
216 | Mesh = New("BlockMesh",Hitoboksu,"Mesh",{Scale = Vector3.new(0, 0, 0),}) | |
217 | att2 = New("Attachment",Hitoboksu,"att2",{CFrame = CFrame.new(0, -2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
218 | att1 = New("Attachment",Hitoboksu,"att1",{CFrame = CFrame.new(0, 2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
219 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.50000858, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),}) | |
220 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
221 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.799998045, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
222 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.30001068, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),}) | |
223 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
224 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.599999666, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
225 | TUREIRU = New("Trail",Hitoboksu,"TUREIRU",{Enabled = false,LightEmission = 1,Attachment1 = att1,Attachment0 = att2}) | |
226 | TUREIRU.Color = ColorSequence.new({ | |
227 | ColorSequenceKeypoint.new(0,Color3.fromRGB(255, 253, 208)), | |
228 | ColorSequenceKeypoint.new(0.5,Color3.fromRGB(255, 192, 203)), | |
229 | ColorSequenceKeypoint.new(1,Color3.fromRGB(123, 63, 0)), | |
230 | }) | |
231 | TUREIRU.Transparency = NumberSequence.new(0,1) | |
232 | ||
233 | local wep = ISCREAM | |
234 | local handla = KonuHandaru | |
235 | local hito = Hitoboksu | |
236 | local tr1 = TUREIRU | |
237 | ||
238 | function CreateSwirl(part) | |
239 | local pemit = Instance.new("ParticleEmitter",part) | |
240 | pemit.Name = "SUWARU" | |
241 | pemit.Texture = "rbxassetid://253188763" | |
242 | pemit.LightInfluence = 1 | |
243 | pemit.Size = NumberSequence.new(0,2) | |
244 | pemit.Transparency = NumberSequence.new(0,1) | |
245 | pemit.ZOffset = .5 | |
246 | pemit.Lifetime = NumberRange.new(1) | |
247 | pemit.Rate = 200 | |
248 | pemit.Rotation = NumberRange.new(0,360) | |
249 | pemit.RotSpeed = NumberRange.new(-300,300) | |
250 | pemit.Speed = NumberRange.new(.2) | |
251 | pemit.SpreadAngle = Vector2.new(360,360) | |
252 | return pemit | |
253 | end | |
254 | ||
255 | --This is just for builds-- | |
256 | New = function(Object, Parent, Name, Data) | |
257 | local Object = Instance.new(Object) | |
258 | for Index, Value in pairs(Data or {}) do | |
259 | Object[Index] = Value | |
260 | end | |
261 | Object.Parent = Parent | |
262 | Object.Name = Name | |
263 | return Object | |
264 | end | |
265 | HandaruW = New("ManualWeld",handla,"HandaruW",{Part0 = handla,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.199996948, -1.10000002, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
266 | --------------------------- | |
267 | ||
268 | function rayCast(Position, Direction, Range, Ignore) | |
269 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
270 | end | |
271 | ||
272 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
273 | if SinglePlayer then | |
274 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
275 | end | |
276 | local List = {} | |
277 | for i, v in pairs(workspace:GetDescendants()) do | |
278 | if v:IsA("Model") then | |
279 | if v:findFirstChild("Head") then | |
280 | if v ~= chara then | |
281 | if (v.Head.Position - Position).magnitude <= Distance then | |
282 | table.insert(List, v) | |
283 | end | |
284 | end | |
285 | end | |
286 | end | |
287 | end | |
288 | return List | |
289 | end | |
290 | ||
291 | EffectModel = Create("Model"){ | |
292 | Parent = chara, | |
293 | Name = "Effects", | |
294 | } | |
295 | ||
296 | --Effect Functions-- | |
297 | Effects = { | |
298 | ||
299 | Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor) | |
300 | local p = Instance.new("Part",EffectModel) | |
301 | p.BrickColor = BrickColor.new(colour) | |
302 | p.Size = partsize | |
303 | p.Anchored = true | |
304 | p.CanCollide = false | |
305 | p.Material = matr | |
306 | p.CFrame = cf | |
307 | if inverse == true then | |
308 | p.Transparency = 1 | |
309 | else | |
310 | p.Transparency = 0 | |
311 | end | |
312 | local m = Instance.new("BlockMesh",p) | |
313 | m.Scale = meshstart | |
314 | coroutine.wrap(function() | |
315 | for i=0,1,factor do | |
316 | swait() | |
317 | if inverse == true then | |
318 | p.Transparency = 1-i | |
319 | else | |
320 | p.Transparency = i | |
321 | end | |
322 | m.Scale = m.Scale + meshadd | |
323 | if spin == true then | |
324 | p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
325 | end | |
326 | end | |
327 | p:Destroy() | |
328 | end)() | |
329 | return p | |
330 | end, | |
331 | ||
332 | Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
333 | local p = Instance.new("Part",EffectModel) | |
334 | p.BrickColor = BrickColor.new(colour) | |
335 | p.Size = partsize | |
336 | p.Anchored = true | |
337 | p.CanCollide = false | |
338 | p.Material = matr | |
339 | p.CFrame = cf | |
340 | if inverse == true then | |
341 | p.Transparency = 1 | |
342 | else | |
343 | p.Transparency = 0 | |
344 | end | |
345 | local m = Instance.new("SpecialMesh",p) | |
346 | m.MeshType = "Sphere" | |
347 | m.Scale = meshstart | |
348 | coroutine.wrap(function() | |
349 | for i=0,1,factor do | |
350 | swait() | |
351 | if inverse == true then | |
352 | p.Transparency = 1-i | |
353 | else | |
354 | p.Transparency = i | |
355 | end | |
356 | m.Scale = m.Scale + meshadd | |
357 | end | |
358 | p:Destroy() | |
359 | end)() | |
360 | return p | |
361 | end, | |
362 | ||
363 | Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
364 | local p = Instance.new("Part",EffectModel) | |
365 | p.BrickColor = BrickColor.new(colour) | |
366 | p.Size = partsize | |
367 | p.Anchored = true | |
368 | p.CanCollide = false | |
369 | p.Material = matr | |
370 | p.CFrame = cf | |
371 | if inverse == true then | |
372 | p.Transparency = 1 | |
373 | else | |
374 | p.Transparency = 0 | |
375 | end | |
376 | local m = Instance.new("CylinderMesh",p) | |
377 | m.Scale = meshstart | |
378 | coroutine.wrap(function() | |
379 | for i=0,1,factor do | |
380 | swait() | |
381 | if inverse == true then | |
382 | p.Transparency = 1-i | |
383 | else | |
384 | p.Transparency = i | |
385 | end | |
386 | m.Scale = m.Scale + meshadd | |
387 | end | |
388 | p:Destroy() | |
389 | end)() | |
390 | return p | |
391 | end, | |
392 | ||
393 | Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor) | |
394 | local p = Instance.new("Part",EffectModel) | |
395 | p.BrickColor = BrickColor.new(colour) | |
396 | p.Size = Vector3.new() | |
397 | p.Anchored = true | |
398 | p.CanCollide = false | |
399 | p.CFrame = cf | |
400 | if inverse == true then | |
401 | p.Transparency = 1 | |
402 | else | |
403 | p.Transparency = 0 | |
404 | end | |
405 | local m = Instance.new("SpecialMesh",p) | |
406 | m.MeshId = "rbxassetid://20329976" | |
407 | m.Scale = meshstart | |
408 | coroutine.wrap(function() | |
409 | for i=0,1,factor do | |
410 | swait() | |
411 | if inverse == true then | |
412 | p.Transparency = 1-i | |
413 | else | |
414 | p.Transparency = i | |
415 | end | |
416 | m.Scale = m.Scale + meshadd | |
417 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
418 | end | |
419 | p:Destroy() | |
420 | end)() | |
421 | return p | |
422 | end, | |
423 | ||
424 | Ring = function(cf,meshstart,meshadd,colour,inverse,factor) | |
425 | local p = Instance.new("Part",EffectModel) | |
426 | p.BrickColor = BrickColor.new(colour) | |
427 | p.Size = Vector3.new() | |
428 | p.Anchored = true | |
429 | p.CanCollide = false | |
430 | p.CFrame = cf | |
431 | if inverse == true then | |
432 | p.Transparency = 1 | |
433 | else | |
434 | p.Transparency = 0 | |
435 | end | |
436 | local m = Instance.new("SpecialMesh",p) | |
437 | m.MeshId = "rbxassetid://3270017" | |
438 | m.Scale = meshstart | |
439 | coroutine.wrap(function() | |
440 | for i=0,1,factor do | |
441 | swait() | |
442 | if inverse == true then | |
443 | p.Transparency = 1-i | |
444 | else | |
445 | p.Transparency = i | |
446 | end | |
447 | m.Scale = m.Scale + meshadd | |
448 | end | |
449 | p:Destroy() | |
450 | end)() | |
451 | return p | |
452 | end, | |
453 | ||
454 | Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor) | |
455 | local p = Instance.new("Part",EffectModel) | |
456 | p.BrickColor = BrickColor.new(colour) | |
457 | p.Size = Vector3.new() | |
458 | p.Anchored = true | |
459 | p.CanCollide = false | |
460 | p.CFrame = cf | |
461 | if inverse == true then | |
462 | p.Transparency = 1 | |
463 | else | |
464 | p.Transparency = 0 | |
465 | end | |
466 | local m = Instance.new("SpecialMesh",p) | |
467 | m.MeshId = meshid | |
468 | m.TextureId = textid | |
469 | m.Scale = meshstart | |
470 | coroutine.wrap(function() | |
471 | for i=0,1,factor do | |
472 | swait() | |
473 | if inverse == true then | |
474 | p.Transparency = 1-i | |
475 | else | |
476 | p.Transparency = i | |
477 | end | |
478 | m.Scale = m.Scale + meshadd | |
479 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
480 | end | |
481 | p:Destroy() | |
482 | end)() | |
483 | return p | |
484 | end, | |
485 | ||
486 | Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor) | |
487 | local p = Instance.new("Part",EffectModel) | |
488 | p.BrickColor = BrickColor.new(colour) | |
489 | p.Size = partsize | |
490 | p.Anchored = true | |
491 | p.CanCollide = false | |
492 | p.Material = matr | |
493 | p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
494 | if inverse == true then | |
495 | p.Transparency = 1 | |
496 | else | |
497 | p.Transparency = 0 | |
498 | end | |
499 | local m = Instance.new("SpecialMesh",p) | |
500 | m.MeshType = "Sphere" | |
501 | m.Scale = meshstart | |
502 | coroutine.wrap(function() | |
503 | for i=0,1,factor do | |
504 | swait() | |
505 | if inverse == true then | |
506 | p.Transparency = 1-i | |
507 | else | |
508 | p.Transparency = i | |
509 | end | |
510 | m.Scale = m.Scale + meshadd | |
511 | p.CFrame = p.CFrame * CFrame.new(0,move,0) | |
512 | end | |
513 | p:Destroy() | |
514 | end)() | |
515 | return p | |
516 | end, | |
517 | ||
518 | } | |
519 | ||
520 | function chatfunc(text) | |
521 | coroutine.wrap(function() | |
522 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
523 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
524 | end | |
525 | local naeeym2 = Instance.new("BillboardGui",chara) | |
526 | naeeym2.Size = UDim2.new(0,100,0,40) | |
527 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
528 | naeeym2.Adornee = chara.Head | |
529 | naeeym2.Name = "BLABLABLA" | |
530 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
531 | tecks2.BackgroundTransparency = 1 | |
532 | tecks2.BorderSizePixel = 0 | |
533 | tecks2.Text = "" | |
534 | tecks2.Font = "Fantasy" | |
535 | tecks2.FontSize = "Size24" | |
536 | tecks2.TextStrokeTransparency = 0 | |
537 | tecks2.TextColor3 = Color3.new(1,1,1) | |
538 | tecks2.TextStrokeColor3 = Color3.new(0,1,1) | |
539 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
540 | for i = 1,string.len(text),1 do | |
541 | tecks2.Text = string.sub(text,1,i) | |
542 | swait() | |
543 | end | |
544 | swait(30) | |
545 | for i = 1, 5 do | |
546 | swait() | |
547 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
548 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
549 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
550 | end | |
551 | naeeym2:Destroy() | |
552 | end)() | |
553 | end | |
554 | ||
555 | function GetDudesTorso(c) | |
556 | local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso")) | |
557 | if torsy ~= nil then | |
558 | return torsy | |
559 | end | |
560 | end | |
561 | ||
562 | function BodyVel(part,faws) | |
563 | local bodyvel = Instance.new("BodyVelocity",part) | |
564 | local pep = 10000000 | |
565 | bodyvel.P = pep | |
566 | bodyvel.MaxForce = Vector3.new(pep,pep,pep) | |
567 | bodyvel.Velocity = faws | |
568 | debby:AddItem(bodyvel,.2) | |
569 | end | |
570 | ||
571 | function Dmg(guy) | |
572 | coroutine.wrap(function() | |
573 | local hum = guy:FindFirstChildOfClass("Humanoid") | |
574 | if hum and guy:FindFirstChild("HITO")==nil then | |
575 | Instance.new("BoolValue",guy).Name = "HITO" | |
576 | local torsy = GetDudesTorso(guy) | |
577 | if torsy then | |
578 | so(32656713,torsy,1,2) | |
579 | end | |
580 | local par = {} | |
581 | for i,v in pairs(guy:GetDescendants()) do | |
582 | if v:IsA("BasePart") then | |
583 | table.insert(par,v) | |
584 | if v.Name ~= "HumanoidRootPart" then | |
585 | v.Anchored = true | |
586 | end | |
587 | CreateSwirl(v) | |
588 | end | |
589 | end | |
590 | swait(20) | |
591 | if torsy then | |
592 | so(203936153,torsy,1,2) | |
593 | end | |
594 | for i,v in pairs(guy:GetDescendants()) do | |
595 | if v.Name == "SUWARU" then | |
596 | v.Enabled = false | |
597 | end | |
598 | if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Decal") and v.Name ~= "face" then | |
599 | v:Destroy() | |
600 | end | |
601 | for i,v in pairs(par) do | |
602 | if v then | |
603 | if v:FindFirstChild("SpecialMesh") then | |
604 | v:FindFirstChild("SpecialMesh").TextureId = "" | |
605 | end | |
606 | if v:IsA("MeshPart") then | |
607 | v.TextureID = "" | |
608 | end | |
609 | v.BrickColor = BrickColor.new("Baby blue") | |
610 | v.Material = "Ice" | |
611 | end | |
612 | end | |
613 | end | |
614 | swait(40) | |
615 | if torsy then | |
616 | so(87015121,torsy,1,2) | |
617 | end | |
618 | guy:BreakJoints() | |
619 | for ba=1,6 do | |
620 | Effects.Explode(torsy.CFrame,Vector3.new(1,1,1),Vector3.new(6,6,6),Vector3.new(.05,.05,.05),"SmoothPlastic","White",.05,false,.025)--+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
621 | end | |
622 | for ab = 1,math.random(6,10) do | |
623 | local sa = math.random(5,9)/10 | |
624 | local ice = Instance.new("Part",EffectModel) | |
625 | ice.CFrame = torsy.CFrame | |
626 | ice.BrickColor = BrickColor.new("Baby blue") | |
627 | ice.Material = "Ice" | |
628 | ice.Size = Vector3.new(sa,sa,sa) | |
629 | ice.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
630 | ice.RotVelocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
631 | coroutine.wrap(function() | |
632 | swait(120) | |
633 | ice.Orientation = Vector3.new(0,ice.Orientation.y,0) | |
634 | for b = 0,1,.05 do | |
635 | swait() | |
636 | ice.Transparency = b | |
637 | ice.Size = ice.Size + Vector3.new(.05,-.05,.05) | |
638 | end | |
639 | ice:Destroy() | |
640 | end)() | |
641 | end | |
642 | for i,v in pairs(par) do | |
643 | v:Destroy() | |
644 | end | |
645 | end | |
646 | end)() | |
647 | end | |
648 | ||
649 | function MagnitudeDmg(par,magni) | |
650 | for _, c in pairs(workspace:GetDescendants()) do | |
651 | local hum = c:FindFirstChildOfClass("Humanoid") | |
652 | if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then | |
653 | local head = GetDudesTorso(c) | |
654 | if head ~= nil then | |
655 | local targ = head.Position - par.Position | |
656 | local mag = targ.magnitude | |
657 | if magni >= mag and c ~= chara then | |
658 | Dmg(c) | |
659 | end | |
660 | end | |
661 | end | |
662 | end | |
663 | end | |
664 | ||
665 | combo = 1 | |
666 | ||
667 | local mus = Instance.new("Sound",chara) | |
668 | mus.Name = "mus" | |
669 | mus.SoundId = "rbxassetid://189224548" | |
670 | mus.Looped = true | |
671 | mus.Volume = 1 | |
672 | mus:Play() | |
673 | ||
674 | coroutine.wrap(function() | |
675 | Humanoid.Name = "asldlasldlasdl" | |
676 | Humanoid.Health = math.huge | |
677 | Humanoid.MaxHealth = math.huge | |
678 | end)() | |
679 | ||
680 | --Intro-- | |
681 | Humanoid.WalkSpeed = 0 | |
682 | for i,v in pairs(wep:children()) do | |
683 | if v~=handla then | |
684 | v.Transparency = 1 | |
685 | end | |
686 | end | |
687 | swait(20) | |
688 | chatfunc("Revenge is a dish best served cold!") | |
689 | for i=0,1,.1 do | |
690 | swait() | |
691 | PlayAnimationFromTable({ | |
692 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
693 | CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
694 | CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
695 | CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
696 | CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
697 | CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
698 | }, .3, false) | |
699 | end | |
700 | local para = {} | |
701 | for i=-2,2,.2 do | |
702 | local ice = Instance.new("Part",EffectModel) | |
703 | ice.Size = Vector3.new(1,1,1) | |
704 | ice.CanCollide = false | |
705 | ice.BrickColor = BrickColor.new("Baby blue") | |
706 | ice.Material = "Ice" | |
707 | local icew = Instance.new("Weld",ice) | |
708 | icew.Part0 = hito | |
709 | icew.Part1 = ice | |
710 | icew.C0 = CFrame.new(0,-i,0)*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)) | |
711 | table.insert(para,ice) | |
712 | so(32656754,ice,1,1) | |
713 | swait() | |
714 | end | |
715 | swait(30) | |
716 | so(87015121,hito,1,1) | |
717 | for i,v in pairs(wep:children()) do | |
718 | v.Transparency = 0 | |
719 | end | |
720 | for i,v in pairs(para) do | |
721 | v:BreakJoints() | |
722 | v.Anchored = true | |
723 | coroutine.wrap(function() | |
724 | for i=0,1,.05 do | |
725 | swait() | |
726 | v.CFrame = v.CFrame*CFrame.new(0,.5,0) | |
727 | v.Transparency = i | |
728 | end | |
729 | v:Destroy() | |
730 | end)() | |
731 | end | |
732 | swait(60) | |
733 | chatfunc([["Ice" to meet you today!]]) | |
734 | Humanoid.WalkSpeed = 40 | |
735 | -------------------------------------------------- | |
736 | ||
737 | function smek() | |
738 | attack = true | |
739 | for i=0,1,.2 do | |
740 | swait() | |
741 | PlayAnimationFromTable({ | |
742 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
743 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
744 | CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854), | |
745 | CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1), | |
746 | CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438), | |
747 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
748 | }, .4, false) | |
749 | end | |
750 | Humanoid.WalkSpeed = 2 | |
751 | tr1.Enabled = true | |
752 | so(32656754,hito,math.random(9,11)/10,1) | |
753 | for i=0,1,.2 do | |
754 | swait() | |
755 | PlayAnimationFromTable({ | |
756 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
757 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
758 | CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1), | |
759 | CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012), | |
760 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
761 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
762 | }, .4, false) | |
763 | MagnitudeDmg(hito,3) | |
764 | end | |
765 | swait(5) | |
766 | Humanoid.WalkSpeed = 40 | |
767 | tr1.Enabled = false | |
768 | attack = false | |
769 | end | |
770 | ||
771 | function asmek() | |
772 | attack = true | |
773 | Humanoid.WalkSpeed = 50 | |
774 | RootPart.Velocity = Vector3.new(RootPart.Velocity.X,30,RootPart.Velocity.Z) | |
775 | tr1.Enabled = true | |
776 | so(32656754,hito,math.random(9,11)/10,1) | |
777 | for i = 0,1.5,.1 do | |
778 | swait() | |
779 | PlayAnimationFromTable({ | |
780 | CFrame.new(-2.14576721e-06, -1.66893005e-06, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360)*-i,0), | |
781 | CFrame.new(0, 1.50000107, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
782 | CFrame.new(1.4999969, 1.00000238, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
783 | CFrame.new(-1.49999905, 1.00000238, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1), | |
784 | CFrame.new(0.499999046, -1.99999499, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
785 | CFrame.new(-0.500001907, -1.99999404, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
786 | }, .3, false) | |
787 | MagnitudeDmg(hito,3) | |
788 | end | |
789 | Humanoid.WalkSpeed = 40 | |
790 | tr1.Enabled = false | |
791 | attack = false | |
792 | end | |
793 | ||
794 | function burasuto() | |
795 | attack = true | |
796 | Humanoid.WalkSpeed = 5 | |
797 | for i=0,2,.1 do | |
798 | swait() | |
799 | PlayAnimationFromTable({ | |
800 | CFrame.new(0.0358428955, 0, 0.0325927734, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
801 | CFrame.new(0.0325870365, 1.49998832, -0.0358416028, 0.0301539954, 0.171010062, -0.984807789, 0.171009988, 0.969846368, 0.173648238, 0.984807849, -0.173648134, 3.13053391e-07), | |
802 | CFrame.new(1.5, 0.899998665, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
803 | CFrame.new(-1.50195909, 0.627066612, -0.676912427, 0.984807849, -0.17364797, 1.12223177e-07, -0.030152997, -0.171006978, -0.984808326, 0.171009988, 0.969846904, -0.17364502), | |
804 | CFrame.new(0.5, -1.8499999, 0.459799707, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388), | |
805 | CFrame.new(-0.5, -1.57705688, -0.280751318, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
806 | }, .4, false) | |
807 | Effects.Ring(RightArm.CFrame*CFrame.new(0,-1,0)* CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(10,10,1),Vector3.new(-1,-1,0),"White",true,.1) | |
808 | Effects.Block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.1,-.1,-.1),"Ice","White",true,true,.1) | |
809 | end | |
810 | so(588736245,RightArm,.8,1) | |
811 | local dir = (RightArm.Position - Mouse.Hit.p).unit | |
812 | local blast = Instance.new("Part",EffectModel) | |
813 | blast.Name = "Burasuto" | |
814 | blast.BrickColor = BrickColor.new("Baby blue") | |
815 | blast.Size = Vector3.new(3,3,3) | |
816 | blast.Anchored = true | |
817 | blast.CanCollide = false | |
818 | blast.Material = "Neon" | |
819 | blast.Shape = "Ball" | |
820 | blast.CFrame = CFrame.new(RightArm.Position,RightArm.Position+dir) | |
821 | local pe = CreateSwirl(blast) | |
822 | pe.Size = NumberSequence.new(2,0) | |
823 | debby:AddItem(blast,10) | |
824 | coroutine.wrap(function() | |
825 | local par,pos | |
826 | local ta = 0 | |
827 | repeat | |
828 | swait() | |
829 | par,pos = rayCast(blast.Position,blast.CFrame.lookVector*2,5,chara) | |
830 | if par ~= nil then | |
831 | blast.CFrame = CFrame.new(pos) | |
832 | else | |
833 | blast.CFrame = blast.CFrame * CFrame.new(0,0,4) | |
834 | end | |
835 | until par ~= nil | |
836 | for b=1,2 do | |
837 | Effects.Block(blast.CFrame,Vector3.new(1,1,1),Vector3.new(),Vector3.new(1,1,1),"Ice","White",true,false,.1) | |
838 | end | |
839 | so(747238556,blast,1,1) | |
840 | MagnitudeDmg(blast,5) | |
841 | blast.Transparency = 1 | |
842 | debby:AddItem(blast,3) | |
843 | end)() | |
844 | Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(.2,0,.2),"White",10,false,.05) | |
845 | Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(1,0,1),"Baby blue",-10,false,.05) | |
846 | BodyVel(Torso,RootPart.CFrame.lookVector*-5) | |
847 | swait(20) | |
848 | Humanoid.WalkSpeed = 40 | |
849 | attack = false | |
850 | end | |
851 | ||
852 | function freeze() | |
853 | attack = true | |
854 | Humanoid.WalkSpeed = 4 | |
855 | chatfunc("That's it!") | |
856 | coroutine.wrap(function() | |
857 | for a=0,1,.1 do | |
858 | swait() | |
859 | for i,v in pairs(wep:children()) do | |
860 | v.Transparency = i | |
861 | end | |
862 | end | |
863 | end)() | |
864 | for i = 0,1,.1 do | |
865 | swait() | |
866 | PlayAnimationFromTable({ | |
867 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
868 | CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
869 | CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
870 | CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
871 | CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
872 | CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
873 | }, .3, false) | |
874 | end | |
875 | for i = 0,4,.05 do | |
876 | swait() | |
877 | PlayAnimationFromTable({ | |
878 | CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
879 | CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
880 | CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0), | |
881 | CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0), | |
882 | CFrame.new(0.50000006, -2.02669048, 0.381489158, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428), | |
883 | CFrame.new(-0.500001907, -2.02669072, 0.381488144, 0.866025388, 0, 0.500000238, -0.171010032, 0.939692736, 0.296197921, -0.469846606, -0.342019886, 0.813797772), | |
884 | }, .3, false) | |
885 | Effects.Block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.05,-.05,-.05),"Ice","White",true,true,.05) | |
886 | Effects.Block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.05,-.05,-.05),"Ice","White",true,true,.05) | |
887 | end | |
888 | swait(20) | |
889 | for i = 0,1,.1 do | |
890 | swait() | |
891 | PlayAnimationFromTable({ | |
892 | CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414), | |
893 | CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
894 | CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0), | |
895 | CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0), | |
896 | CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
897 | CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
898 | }, .3, false) | |
899 | end | |
900 | local pemit1 = CreateSwirl(RightArm) | |
901 | pemit1.SpreadAngle = Vector2.new(20,20) | |
902 | pemit1.EmissionDirection = "Bottom" | |
903 | pemit1.Lifetime = NumberRange.new(.7) | |
904 | pemit1.Speed = NumberRange.new(20) | |
905 | pemit1.Size = NumberSequence.new(0,5) | |
906 | local pemit2 = pemit1:Clone() | |
907 | pemit2.Parent = LeftArm | |
908 | local pa = Instance.new("Part",chara) | |
909 | pa.Size = Vector3.new(0,0,0) | |
910 | pa.CanCollide = false | |
911 | pa.Anchored = true | |
912 | pa.Transparency = 1 | |
913 | so(87014838,Torso,1,1) | |
914 | chatfunc("Freeze... to... death...") | |
915 | for i=1,200 do | |
916 | pa.CFrame = RootPart.CFrame * CFrame.new(0,0,-7) | |
917 | MagnitudeDmg(pa,8) | |
918 | swait() | |
919 | end | |
920 | pemit1.Enabled = false | |
921 | pemit2.Enabled = false | |
922 | pa:Destroy() | |
923 | debby:AddItem(pemit1,4) | |
924 | debby:AddItem(pemit2,4) | |
925 | swait(30) | |
926 | coroutine.wrap(function() | |
927 | for a=0,1,.1 do | |
928 | swait() | |
929 | for i,v in pairs(wep:children()) do | |
930 | v.Transparency = 1-i | |
931 | end | |
932 | end | |
933 | for i,v in pairs(wep:children()) do | |
934 | v.Transparency = 0 | |
935 | end | |
936 | end)() | |
937 | Humanoid.WalkSpeed = 40 | |
938 | tr1.Enabled = false | |
939 | attack = false | |
940 | end | |
941 | ||
942 | function areafreeze() | |
943 | attack = true | |
944 | Humanoid.WalkSpeed = 0 | |
945 | chatfunc("The winter is coming..") | |
946 | coroutine.wrap(function() | |
947 | for a=0,1,.1 do | |
948 | swait() | |
949 | for i,v in pairs(wep:children()) do | |
950 | v.Transparency = i | |
951 | end | |
952 | end | |
953 | end)() | |
954 | for i = 0,1,.1 do | |
955 | swait() | |
956 | PlayAnimationFromTable({ | |
957 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
958 | CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
959 | CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
960 | CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
961 | CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
962 | CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
963 | }, .3, false) | |
964 | end | |
965 | for i = 0,4,.05 do | |
966 | swait() | |
967 | PlayAnimationFromTable({ | |
968 | CFrame.new(), | |
969 | CFrame.new(0, 1.46578932, -0.0939713717, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
970 | CFrame.new(0.748245835, 0.499998569, -0.773616076, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0), | |
971 | CFrame.new(-0.748251557, 0.499999017, -0.773617327, 0.342020124, -0.939692616, 4.10752676e-08, 0, -4.37113883e-08, -1, 0.939692616, 0.342020124, -1.49501744e-08), | |
972 | CFrame.new(0.499996185, -1.28161228, -0.232838884, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
973 | CFrame.new(-0.5, -1.99999928, 0.299997658, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
974 | }, .3, false) | |
975 | Effects.Wave(Torso.CFrame*CFrame.new(0,-2,0),Vector3.new(10,0,10),Vector3.new(-.5,.05,-.5),"White",math.random(-10,10),true,.05) | |
976 | Effects.Meshed(RootPart.CFrame*CFrame.new(math.random(-10,10),math.random(-1,5),math.random(-10,10))*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(2,2,2),Vector3.new(),"White","rbxassetid://187687161","",math.random(-2,2),false,.05) | |
977 | end | |
978 | swait(20) | |
979 | chatfunc("COMETH, BLIZZARD O' DEATH!") | |
980 | for i = 0,2,.1 do | |
981 | swait() | |
982 | PlayAnimationFromTable({ | |
983 | CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
984 | CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
985 | CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0), | |
986 | CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0), | |
987 | CFrame.new(0.50000006, -2.02669048, 0.381489158, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428), | |
988 | CFrame.new(-0.500001907, -2.02669072, 0.381488144, 0.866025388, 0, 0.500000238, -0.171010032, 0.939692736, 0.296197921, -0.469846606, -0.342019886, 0.813797772), | |
989 | }, .3, false) | |
990 | end | |
991 | so(632669170,Torso,1,1) | |
992 | MagnitudeDmg(RootPart,20) | |
993 | for i=1,2 do | |
994 | Effects.Block(Torso.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(3,3,3),"Ice","White",true,false,.05) | |
995 | Effects.Ring(Torso.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(1,1,.5),Vector3.new(5,5,0),"White",false,.05) | |
996 | end | |
997 | Effects.Wave(Torso.CFrame*CFrame.new(0,-2,0),Vector3.new(0,1,0),Vector3.new(5,0,5),"White",10,false,.05) | |
998 | swait(30) | |
999 | coroutine.wrap(function() | |
1000 | for a=0,1,.1 do | |
1001 | swait() | |
1002 | for i,v in pairs(wep:children()) do | |
1003 | v.Transparency = 1-i | |
1004 | end | |
1005 | end | |
1006 | for i,v in pairs(wep:children()) do | |
1007 | v.Transparency = 0 | |
1008 | end | |
1009 | end)() | |
1010 | Humanoid.WalkSpeed = 40 | |
1011 | tr1.Enabled = false | |
1012 | attack = false | |
1013 | end | |
1014 | ||
1015 | Mouse.Button1Down:connect(function() | |
1016 | if attack == false then | |
1017 | if Anim == "Jump" or Anim == "Fall" then | |
1018 | asmek() | |
1019 | else | |
1020 | smek() | |
1021 | end | |
1022 | end | |
1023 | end) | |
1024 | ||
1025 | local sprintt = 0 | |
1026 | Mouse.KeyDown:connect(function(k) | |
1027 | k = k:lower() | |
1028 | if k=='m' then | |
1029 | if mus.IsPlaying == true then | |
1030 | mus:Stop() | |
1031 | elseif mus.IsPaused == true then | |
1032 | mus:Play() | |
1033 | end | |
1034 | end | |
1035 | if attack == false then | |
1036 | if k == 'z' then | |
1037 | burasuto() | |
1038 | elseif k == 'x' then | |
1039 | freeze() | |
1040 | elseif k == 'c' then | |
1041 | areafreeze() | |
1042 | end | |
1043 | end | |
1044 | end) | |
1045 | ||
1046 | --Mouse.KeyUp:connect(function(k) | |
1047 | --k = k:lower() | |
1048 | --if k == 'e' then | |
1049 | --ehold = false | |
1050 | --elseif k == 'z' then | |
1051 | --zhold = false | |
1052 | --elseif k == 'v' then | |
1053 | --vhold = false | |
1054 | --elseif k == 'g' then | |
1055 | --ghold = false | |
1056 | --end | |
1057 | --end) | |
1058 | ||
1059 | coroutine.wrap(function() | |
1060 | while 1 do | |
1061 | swait() | |
1062 | if doe <= 360 then | |
1063 | doe = doe + 2 | |
1064 | else | |
1065 | doe = 0 | |
1066 | end | |
1067 | end | |
1068 | end)() | |
1069 | while true do | |
1070 | swait() | |
1071 | while true do | |
1072 | swait() | |
1073 | if chara:FindFirstChild("mus")==nil then | |
1074 | mus = Instance.new("Sound",chara) | |
1075 | mus.Name = "mus" | |
1076 | mus.SoundId = "rbxassetid://189224548" | |
1077 | mus.Looped = true | |
1078 | mus.Volume = 1 | |
1079 | mus:Play() | |
1080 | end | |
1081 | if sprintt >= 1 then | |
1082 | sprintt = sprintt - 1 | |
1083 | end | |
1084 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1085 | velocity = RootPart.Velocity.y | |
1086 | sine = sine + change | |
1087 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
1088 | if RootPart.Velocity.y > 1 and hit == nil then | |
1089 | Anim = "Jump" | |
1090 | if attack == false then | |
1091 | PlayAnimationFromTable({ | |
1092 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
1093 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
1094 | CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012), | |
1095 | CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012), | |
1096 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
1097 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
1098 | }, .3, false) | |
1099 | end | |
1100 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1101 | Anim = "Fall" | |
1102 | if attack == false then | |
1103 | PlayAnimationFromTable({ | |
1104 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
1105 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
1106 | CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012), | |
1107 | CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012), | |
1108 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
1109 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
1110 | }, .3, false) | |
1111 | end | |
1112 | elseif Torsovelocity < 1 and hit ~= nil then | |
1113 | Anim = "Idle" | |
1114 | if attack == false then | |
1115 | change = 1 | |
1116 | PlayAnimationFromTable({ | |
1117 | CFrame.new(0, 0, 0, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
1118 | CFrame.new(-1.22189522e-06, 1.49999833, -3.15904617e-06, 0.925416768, -0.101305634, -0.365159065, 0.173647985, 0.969846427, 0.171009958, 0.336823881, -0.221664593, 0.915103614), | |
1119 | CFrame.new(1.4999994, 0, 7.15255737e-07, 0.984807849, 0, -0.173648164, 0, 1, 0, 0.173648134, 0, 0.984807849), | |
1120 | CFrame.new(-1.3973906, -0.196961865, -0.0180919915, 0.969846308, -0.171010002, 0.173648715, 0.173648089, 0.984807789, 2.70171853e-07, -0.171010703, 0.0301535055, 0.98480773), | |
1121 | CFrame.new(0.499998569, -1.99999797, -5.96046448e-07, 0.939692736, 0, -0.342019916, 0, 1, 0, 0.342019886, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
1122 | CFrame.new(-0.499999195, -1.99999797, 1.17719173e-06, 0.939692438, 0, 0.342020929, 0, 1, 0, -0.342020959, 0, 0.939692438) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
1123 | }, .3, false) | |
1124 | end | |
1125 | elseif Torsovelocity > 2 and hit ~= nil then | |
1126 | Anim = "Walk" | |
1127 | if attack == false then | |
1128 | Humanoid.WalkSpeed = 40 | |
1129 | Humanoid.JumpPower = 70 | |
1130 | PlayAnimationFromTable({ | |
1131 | CFrame.new(-2.4138464e-07, 0.123327732, -0.188363045, 1, -4.38293796e-07, 1.20420327e-06, 0, 0.939692736, 0.342019886, -1.28148622e-06, -0.342019916, 0.939692736) * CFrame.new(0, 0- .08 * math.cos((sine/2.5)), 0), | |
1132 | CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1133 | CFrame.new(1.39999986, 4.76837158e-07, 0.173205554, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1134 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, .6 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), | |
1135 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), | |
1136 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0), | |
1137 | }, .3, false) | |
1138 | end | |
1139 | end | |
1140 | end | |
1141 | end | |
1142 | while true do | |
1143 | wait(0) | |
1144 | script.Disabled = false | |
1145 | end |