SHOW:
|
|
- or go back to the newest paste.
1 | - | -- Roblox deleted Jeerve's account for no reason so he's leaking this extremely rare script. Fk roblox I can't wait for their shty site to run out of business -- |
1 | + | -- This script has been converted to FE by iPxter |
2 | - | -- |
2 | + | |
3 | - | -- |
3 | + | |
4 | - | -- |
4 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | - | script.Parent = game.Players.LocalPlayer.PlayerGui |
6 | + | do |
7 | - | local banlist = {"ragedrawr","",""} |
7 | + | print("FE Compatibility code by 1000hack") |
8 | - | playerGui = game.Players.LocalPlayer.PlayerGui |
8 | + | script.Parent = Player.Character |
9 | - | playa = game.Players.LocalPlayer |
9 | + | |
10 | - | script.Name = "Main" |
10 | + | --RemoteEvent for communicating |
11 | - | local weegee = "http://www.roblox.com/asset/?id=53933616" |
11 | + | local Event = Instance.new("RemoteEvent") |
12 | - | local Black = Color3.new(0/255,0/255,0/255) |
12 | + | Event.Name = "UserInput_Event" |
13 | - | local White = Color3.new(255/255,255/255,255/255) |
13 | + | |
14 | - | local main = Instance.new("ScreenGui",playerGui) |
14 | + | --Fake event to make stuff like Mouse.KeyDown work |
15 | - | main.Name = "AdministratorGUI" |
15 | + | local function fakeEvent() |
16 | - | local frame = Instance.new("Frame",main) |
16 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
17 | - | frame.Name = "Border" |
17 | + | t.connect = t.Connect |
18 | - | frame.Active = true |
18 | + | return t |
19 | - | frame.BackgroundColor3 = Black |
19 | + | end |
20 | - | frame.BackgroundTransparency = 0.7 |
20 | + | |
21 | - | frame.BorderColor3 = Black |
21 | + | --Creating fake input objects with fake variables |
22 | - | frame.Size = UDim2.new(0.4,0,1,0) |
22 | + | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
23 | - | frame.Position = UDim2.new(-0.39,0,0.25,0) |
23 | + | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
24 | - | local usertest = Instance.new("TextBox",frame) |
24 | + | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
25 | - | usertest.Name = "User" |
25 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
26 | - | usertest.BackgroundColor3 = Black |
26 | + | end} |
27 | - | usertest.BackgroundTransparency = 0.2 |
27 | + | --Merged 2 functions into one by checking amount of arguments |
28 | - | usertest.Position = UDim2.new(0,10,0,10) |
28 | + | CAS.UnbindAction = CAS.BindAction |
29 | - | usertest.Size = UDim2.new(0,100,0,50) |
29 | + | |
30 | - | usertest.FontSize = 5 |
30 | + | --This function will trigger the events that have been :Connect()'ed |
31 | - | usertest.Text = "me" |
31 | + | local function te(self,ev,...) |
32 | - | usertest.TextColor3 = White |
32 | + | local t = m[ev] |
33 | - | local kbutton = Instance.new("TextButton",frame) |
33 | + | if t and t._fakeEvent and t.Function then |
34 | - | kbutton.Name = "KillButton" |
34 | + | t.Function(...) |
35 | - | kbutton.Position = UDim2.new(0,130,0,10) |
35 | + | end |
36 | - | kbutton.Size = UDim2.new(0,100,0,50) |
36 | + | end |
37 | - | kbutton.Style = 1 |
37 | + | m.TrigEvent = te |
38 | - | kbutton.FontSize = 6 |
38 | + | UIS.TrigEvent = te |
39 | - | kbutton.Text = "Kill" |
39 | + | |
40 | - | kbutton.TextColor3 = White |
40 | + | Event.OnServerEvent:Connect(function(plr,io) |
41 | - | local msg = Instance.new("TextButton",frame) |
41 | + | if plr~=Player then return end |
42 | - | msg.Name = "BroadcastButton" |
42 | + | if io.isMouse then |
43 | - | msg.Position = UDim2.new(0,250,0,10) |
43 | + | m.Target = io.Target |
44 | - | msg.Size = UDim2.new(0,100,0,50) |
44 | + | m.Hit = io.Hit |
45 | - | msg.Style = 1 |
45 | + | else |
46 | - | msg.FontSize = 6 |
46 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
47 | - | msg.Text = "Msg" |
47 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
48 | - | msg.TextColor3 = White |
48 | + | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
49 | - | local option = Instance.new("TextBox",frame) |
49 | + | end |
50 | - | option.Name = "MsgText" |
50 | + | for _,t in pairs(CAS.Actions) do |
51 | - | option.Position = UDim2.new(0,490,0,10) |
51 | + | for _,k in pairs(t.Keys) do |
52 | - | option.Size = UDim2.new(0,100,0,50) |
52 | + | if k==io.KeyCode then |
53 | - | option.BackgroundColor3 = Black |
53 | + | t.Function(t.Name,io.UserInputState,io) |
54 | - | option.BackgroundTransparency = 0.3 |
54 | + | end |
55 | - | option.Text = "Message" |
55 | + | end |
56 | - | option.FontSize = 5 |
56 | + | end |
57 | - | option.TextColor3 = White |
57 | + | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
58 | - | local ttbutton = Instance.new("TextButton",frame) |
58 | + | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
59 | - | ttbutton.Name = "TTButton" |
59 | + | end |
60 | - | ttbutton.Position = UDim2.new(0,10,0,75) |
60 | + | end) |
61 | - | ttbutton.Size = UDim2.new(0,100,0,50) |
61 | + | Event.Parent = NLS([==[ |
62 | - | ttbutton.Style = 1 |
62 | + | local Player = game:GetService("Players").LocalPlayer |
63 | - | ttbutton.FontSize = 6 |
63 | + | local Event = script:WaitForChild("UserInput_Event") |
64 | - | ttbutton.Text = "TTs" |
64 | + | |
65 | - | ttbutton.TextColor3 = White |
65 | + | local UIS = game:GetService("UserInputService") |
66 | - | local nkdbutton = Instance.new("TextButton",frame) |
66 | + | local input = function(io,a) |
67 | - | nkdbutton.Name = "NKDButton" |
67 | + | if a then return end |
68 | - | nkdbutton.Position = UDim2.new(0,130,0,75) |
68 | + | --Since InputObject is a client-side instance, we create and pass table instead |
69 | - | nkdbutton.Size = UDim2.new(0,100,0,50) |
69 | + | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) |
70 | - | nkdbutton.Style = 1 |
70 | + | end |
71 | - | nkdbutton.FontSize = 6 |
71 | + | UIS.InputBegan:Connect(input) |
72 | - | nkdbutton.Text = "Naked" |
72 | + | UIS.InputEnded:Connect(input) |
73 | - | nkdbutton.TextColor3 = White |
73 | + | |
74 | - | local tw = Instance.new("TextButton",frame) |
74 | + | local Mouse = Player:GetMouse() |
75 | - | tw.Name = "TWButton" |
75 | + | local h,t |
76 | - | tw.Position = UDim2.new(0,250,0,75) |
76 | + | --Give the server mouse data 30 times every second, but only if the values changed |
77 | - | tw.Size = UDim2.new(0,100,0,50) |
77 | + | --If player is not moving their mouse, client won't fire events |
78 | - | tw.Style = 1 |
78 | + | while wait(1/30) do |
79 | - | tw.FontSize = 6 |
79 | + | if h~=Mouse.Hit or t~=Mouse.Target then |
80 | - | tw.Text = "Bumf" |
80 | + | h,t=Mouse.Hit,Mouse.Target |
81 | - | tw.TextColor3 = White |
81 | + | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
82 | - | local twuser = Instance.new("TextBox",frame) |
82 | + | end |
83 | - | twuser.Name = "twuser2" |
83 | + | end]==],Player.Character) |
84 | - | twuser.Position = UDim2.new(0,490,0,75) |
84 | + | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
85 | - | twuser.Size = UDim2.new(0,100,0,50) |
85 | + | |
86 | - | twuser.BackgroundColor3 = Black |
86 | + | --[[Baby Nefl created by Brannon1964802]]-- |
87 | - | twuser.BackgroundTransparency = 0.3 |
87 | + | --[[Based off Nefl from Strife, sorta.]]-- |
88 | - | twuser.Text = "Option2" |
88 | + | |
89 | - | twuser.FontSize = 5 |
89 | + | Player=owner |
90 | - | twuser.TextColor3 = White |
90 | + | Character=Player.Character |
91 | - | local dkbutton = Instance.new("TextButton",frame) |
91 | + | PlayerGui=Player.PlayerGui |
92 | - | dkbutton.Name = "DKButton" |
92 | + | Backpack=Player.Backpack |
93 | - | dkbutton.Position = UDim2.new(0,10,0,150) |
93 | + | Torso=Character.Torso |
94 | - | dkbutton.Size = UDim2.new(0,100,0,50) |
94 | + | Head=Character.Head |
95 | - | dkbutton.Style = 1 |
95 | + | Humanoid=Character.Humanoid |
96 | - | dkbutton.FontSize = 6 |
96 | + | m=Instance.new('Model',Character) |
97 | - | dkbutton.Text = "DK" |
97 | + | LeftArm=Character["Left Arm"] |
98 | - | dkbutton.TextColor3 = White |
98 | + | LeftLeg=Character["Left Leg"] |
99 | - | local sdkbutton = Instance.new("TextButton",frame) |
99 | + | RightArm=Character["Right Arm"] |
100 | - | sdkbutton.Name = "SDKButton" |
100 | + | RightLeg=Character["Right Leg"] |
101 | - | sdkbutton.Position = UDim2.new(0,130,0,150) |
101 | + | LS=Torso["Left Shoulder"] |
102 | - | sdkbutton.Size = UDim2.new(0,100,0,50) |
102 | + | LH=Torso["Left Hip"] |
103 | - | sdkbutton.Style = 1 |
103 | + | RS=Torso["Right Shoulder"] |
104 | - | sdkbutton.FontSize = 6 |
104 | + | RH=Torso["Right Hip"] |
105 | - | sdkbutton.Text = "SDK" |
105 | + | Face = Head.face |
106 | - | sdkbutton.TextColor3 = White |
106 | + | Neck=Torso.Neck |
107 | - | local mdkbutton = Instance.new("TextButton",frame) |
107 | + | it=Instance.new |
108 | - | mdkbutton.Name = "MDKButton" |
108 | + | attacktype=1 |
109 | - | mdkbutton.Position = UDim2.new(0,250,0,150) |
109 | + | vt=Vector3.new |
110 | - | mdkbutton.Size = UDim2.new(0,100,0,50) |
110 | + | cf=CFrame.new |
111 | - | mdkbutton.Style = 1 |
111 | + | euler=CFrame.fromEulerAnglesXYZ |
112 | - | mdkbutton.FontSize = 6 |
112 | + | angles=CFrame.Angles |
113 | - | mdkbutton.Text = "MDK" |
113 | + | cloaked=false |
114 | - | mdkbutton.TextColor3 = White |
114 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
115 | - | local hdkbutton = Instance.new("TextButton",frame) |
115 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
116 | - | hdkbutton.Name = "HDKButton" |
116 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
117 | - | hdkbutton.Position = UDim2.new(0,490,0,150) |
117 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
118 | - | hdkbutton.Size = UDim2.new(0,100,0,50) |
118 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
119 | - | hdkbutton.Style = 1 |
119 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
120 | - | hdkbutton.FontSize = 6 |
120 | + | RootPart=Character.HumanoidRootPart |
121 | - | hdkbutton.Text = "HDK" |
121 | + | RootJoint=RootPart.RootJoint |
122 | - | hdkbutton.TextColor3 = White |
122 | + | RootCF=euler(-1.57,0,3.14) |
123 | - | local godbutton = Instance.new("TextButton",frame) |
123 | + | attack = false |
124 | - | godbutton.Name = "GodButton" |
124 | + | attackdebounce = false |
125 | - | godbutton.Position = UDim2.new(0,10,0,210) |
125 | + | deb=false |
126 | - | godbutton.Size = UDim2.new(0,100,0,50) |
126 | + | equipped=true |
127 | - | godbutton.Style = 1 |
127 | + | hand=false |
128 | - | godbutton.FontSize = 6 |
128 | + | MMouse=nil |
129 | - | godbutton.Text = "God" |
129 | + | combo=0 |
130 | - | godbutton.TextColor3 = White |
130 | + | mana=0 |
131 | - | local kick = Instance.new("TextButton",frame) |
131 | + | trispeed=.2 |
132 | - | kick.Name = "KickButton" |
132 | + | attackmode='none' |
133 | - | kick.Position = UDim2.new(0,130,0,210) |
133 | + | local idle=0 |
134 | - | kick.Size = UDim2.new(0,100,0,50) |
134 | + | local Anim="Idle" |
135 | - | kick.Style = 1 |
135 | + | local Effects={} |
136 | - | kick.FontSize = 6 |
136 | + | local gun=false |
137 | - | kick.Text = "Kick" |
137 | + | local shoot=false |
138 | - | kick.TextColor3 = White |
138 | + | player=nil |
139 | - | local ban = Instance.new("TextButton",frame) |
139 | + | mana=0 |
140 | - | ban.Name = "BanButton" |
140 | + | sphere=true |
141 | - | ban.Position = UDim2.new(0,250,0,210) |
141 | + | aura=false |
142 | - | ban.Size = UDim2.new(0,100,0,50) |
142 | + | blinking=true |
143 | - | ban.Style = 1 |
143 | + | rest=false |
144 | - | ban.FontSize = 6 |
144 | + | |
145 | - | ban.Text = "Ban" |
145 | + | owner.Character.Humanoid.Changed:connect(function(jump) |
146 | - | ban.TextColor3 = White |
146 | + | if jump == "Jump" then |
147 | - | local sbj = Instance.new("TextButton",frame) |
147 | + | Humanoid.Jump = false |
148 | - | sbj.Name = "SBJButton" |
148 | + | |
149 | - | sbj.Position = UDim2.new(0,10,0,280) |
149 | + | |
150 | - | sbj.Size = UDim2.new(0,100,0,50) |
150 | + | |
151 | - | sbj.Style = 1 |
151 | + | Humanoid.MaxHealth = 50000 |
152 | - | sbj.FontSize = 6 |
152 | + | wait(0.1) |
153 | - | sbj.Text = "SBJ" |
153 | + | Humanoid.Health = 50000 |
154 | - | sbj.TextColor3 = White |
154 | + | |
155 | - | local n = Instance.new("TextButton",frame) |
155 | + | print("Giant Snowman loaded.") |
156 | - | n.Name = "MakeButton" |
156 | + | print("This script was made by 1000hack") |
157 | - | n.Position = UDim2.new(0,130,0,280) |
157 | + | |
158 | - | n.Size = UDim2.new(0,100,0,50) |
158 | + | RootPart.Transparency = 1 |
159 | - | n.Style = 1 |
159 | + | |
160 | - | n.FontSize = 6 |
160 | + | Humanoid.CameraOffset = Vector3.new(0, 12.5, 0) |
161 | - | n.Text = "Make" |
161 | + | |
162 | - | n.TextColor3 = White |
162 | + | Humanoid:findFirstChild("Animator"):Destroy() |
163 | - | local c = Instance.new("TextButton",frame) |
163 | + | |
164 | - | c.Name = "CawmButton" |
164 | + | Torso.Transparency = 1 |
165 | - | c.Position = UDim2.new(0,250,0,280) |
165 | + | Head.Transparency = 1 |
166 | - | c.Size = UDim2.new(0,100,0,50) |
166 | + | LeftLeg.Transparency = 1 |
167 | - | c.Style = 1 |
167 | + | RightLeg.Transparency = 1 |
168 | - | c.FontSize = 6 |
168 | + | LeftArm.Transparency = 1 |
169 | - | c.Text = [=['Cum']=] |
169 | + | RightArm.Transparency = 1 |
170 | - | c.TextColor3 = White |
170 | + | |
171 | - | local dkinp = Instance.new("TextButton",frame) |
171 | + | --save shoulders |
172 | - | dkinp.Name = "TourButton" |
172 | + | RSH, LSH=nil, nil |
173 | - | dkinp.Position = UDim2.new(0,370,0,10) |
173 | + | --welds |
174 | - | dkinp.Size = UDim2.new(0,100,0,50) |
174 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
175 | - | dkinp.Style = 1 |
175 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
176 | - | dkinp.FontSize = 6 |
176 | + | LH=Torso["Left Hip"] |
177 | - | dkinp.Text = [=[Tour]=] |
177 | + | RH=Torso["Right Hip"] |
178 | - | dkinp.TextColor3 = White |
178 | + | TorsoColor=Torso.BrickColor |
179 | - | local dkinperson=Instance.new('TextButton',frame) |
179 | + | function NoOutline(Part) |
180 | - | dkinperson.Name = "dkinpersonButton" |
180 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
181 | - | dkinperson.Position = UDim2.new(0,370,0,280) |
181 | + | |
182 | - | dkinperson.Size = UDim2.new(0,100,0,50) |
182 | + | player=Player |
183 | - | dkinperson.Style = 1 |
183 | + | ch=Character |
184 | - | dkinperson.FontSize = 4 |
184 | + | RSH=ch.Torso["Right Shoulder"] |
185 | - | dkinperson.Text = [=[DK in person]=] |
185 | + | LSH=ch.Torso["Left Shoulder"] |
186 | - | dkinperson.TextColor3 = White |
186 | + | -- |
187 | - | local queeeef=Instance.new('TextButton',frame) |
187 | + | RSH.Parent=nil |
188 | - | queeeef.Name = "QueeeefButton" |
188 | + | LSH.Parent=nil |
189 | - | queeeef.Position = UDim2.new(0,370,0,210) |
189 | + | -- |
190 | - | queeeef.Size = UDim2.new(0,100,0,50) |
190 | + | RW.Name="Right Shoulder" |
191 | - | queeeef.Style = 1 |
191 | + | RW.Part0=ch.Torso |
192 | - | queeeef.FontSize = 6 |
192 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
193 | - | queeeef.Text = [=['Queef']=] |
193 | + | RW.C1=cf(0, 0.5, 0) |
194 | - | queeeef.TextColor3 = White |
194 | + | RW.Part1=ch["Right Arm"] |
195 | - | local base=Instance.new('TextButton',frame) |
195 | + | RW.Parent=ch.Torso |
196 | - | base.Name = "BaseButton" |
196 | + | -- |
197 | - | base.Position = UDim2.new(0,370,0,150) |
197 | + | LW.Name="Left Shoulder" |
198 | - | base.Size = UDim2.new(0,100,0,50) |
198 | + | LW.Part0=ch.Torso |
199 | - | base.Style = 1 |
199 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
200 | - | base.FontSize = 6 |
200 | + | LW.C1=cf(0, 0.5, 0) |
201 | - | base.Text = [=[Base]=] |
201 | + | LW.Part1=ch["Left Arm"] |
202 | - | base.TextColor3 = White |
202 | + | LW.Parent=ch.Torso |
203 | - | local base_white=Instance.new('TextButton',frame) |
203 | + | |
204 | - | base_white.Name = "Base_WhiteButton" |
204 | + | Player=owner |
205 | - | base_white.Position = UDim2.new(0,370,0,75) |
205 | + | Character=Player.Character |
206 | - | base_white.Size = UDim2.new(0,100,0,50) |
206 | + | m=Instance.new('Model',Character) |
207 | - | base_white.Style = 1 |
207 | + | |
208 | - | base_white.FontSize = 4 |
208 | + | music = Instance.new("Sound", Character) |
209 | - | base_white.Text = [=[White_Base]=] |
209 | + | music.SoundId = "http://www.roblox.com/asset/?id=340106355" |
210 | - | base_white.TextColor3 = White |
210 | + | music.Volume = 0 |
211 | - | local evolve = Instance.new("TextButton",frame) |
211 | + | music.Looped = true |
212 | - | evolve.Name = "EvolveButton" |
212 | + | wait(0.1) |
213 | - | evolve.Position = UDim2.new(0,490,0,280) |
213 | + | music:Play() |
214 | - | evolve.Size = UDim2.new(0,100,0,50) |
214 | + | |
215 | - | evolve.Style = 1 |
215 | + | music2 = Instance.new("Sound", Character) |
216 | - | evolve.FontSize = 6 |
216 | + | music2.SoundId = "http://www.roblox.com/asset/?id=340106807" |
217 | - | evolve.Text = "Evolve" |
217 | + | music2.Volume = 0.5 |
218 | - | evolve.TextColor3 = White |
218 | + | music2.Looped = true |
219 | - | local cn = Instance.new("TextButton",frame) |
219 | + | |
220 | - | cn.Name = "NameButton" |
220 | + | rawr = Instance.new("Sound", Character) |
221 | - | cn.Position = UDim2.new(0,370,0,350) |
221 | + | rawr.SoundId = "http://www.roblox.com/asset/?id=297472596" |
222 | - | cn.Size = UDim2.new(0,100,0,50) |
222 | + | rawr.Volume = 0.5 |
223 | - | cn.Style = 1 |
223 | + | rawr.Looped = false |
224 | - | cn.FontSize = 6 |
224 | + | |
225 | - | cn.Text = "Name" |
225 | + | Beast = Instance.new("Model",Character) |
226 | - | cn.TextColor3 = White |
226 | + | Beast.Name = "The Beast from The Depths" |
227 | - | local explo = Instance.new("TextButton",frame) |
227 | + | |
228 | - | explo.Name = "ExplodeButton" |
228 | + | torsop=Instance.new("Part",Character) |
229 | - | explo.Position = UDim2.new(0,490,0,350) |
229 | + | torsop.FormFactor="Custom" |
230 | - | explo.Size = UDim2.new(0,100,0,50) |
230 | + | torsop.Size=Vector3.new(.1000,.1000,.2) |
231 | - | explo.Style = 1 |
231 | + | torsop.Transparency=0 |
232 | - | explo.FontSize = 6 |
232 | + | torsop.CanCollide=false |
233 | - | explo.Text = "Explode" |
233 | + | torsop.BrickColor = BrickColor.new("Pastel light blue") |
234 | - | explo.TextColor3 = White |
234 | + | torsop.Material="Sand" |
235 | - | local threeway = Instance.new("TextButton",frame) |
235 | + | torsop.TopSurface="Smooth" |
236 | - | threeway.Name = "ThreeWayButton" |
236 | + | torsop.BottomSurface="Smooth" |
237 | - | threeway.Position = UDim2.new(0,250,0,350) |
237 | + | torsop.RightSurface="Smooth" |
238 | - | threeway.Size = UDim2.new(0,100,0,50) |
238 | + | torsop.LeftSurface="Smooth" |
239 | - | threeway.Style = 1 |
239 | + | torsopw=Instance.new("Weld",Character) |
240 | - | threeway.FontSize = 6 |
240 | + | torsopw.Part0=Character.Torso |
241 | - | threeway.Text = "3w" |
241 | + | torsopw.Part1=torsop |
242 | - | threeway.TextColor3 = White |
242 | + | torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0)) |
243 | - | local threewayuser = Instance.new("TextBox",frame) |
243 | + | |
244 | - | threewayuser.Name = "ThreeWayUser" |
244 | + | torso = Instance.new("SpecialMesh",torsop) |
245 | - | threewayuser.Position = UDim2.new(0,130,0,350) |
245 | + | torso.MeshType = "Sphere" |
246 | - | threewayuser.Size = UDim2.new(0,100,0,50) |
246 | + | torso.Scale = Vector3.new(45,45,45) |
247 | - | threewayuser.BackgroundColor3 = Black |
247 | + | |
248 | - | threewayuser.BackgroundTransparency = 0.3 |
248 | + | ghostp=Instance.new("Part",Character) |
249 | - | threewayuser.Text = "Option3" |
249 | + | ghostp.FormFactor="Custom" |
250 | - | threewayuser.FontSize = 5 |
250 | + | ghostp.Size=Vector3.new(0.2,0.2,0.2) |
251 | - | threewayuser.TextColor3 = White |
251 | + | ghostp.Transparency=1 |
252 | - | local bjay = Instance.new("TextButton",frame) |
252 | + | ghostp.CanCollide=false |
253 | - | bjay.Name = "BjButton" |
253 | + | ghostp.BrickColor = BrickColor.new("Institutional white") |
254 | - | bjay.Position = UDim2.new(0,10,0,350) |
254 | + | ghostp.Material="Neon" |
255 | - | bjay.Size = UDim2.new(0,100,0,50) |
255 | + | ghostp.TopSurface="Smooth" |
256 | - | bjay.Style = 1 |
256 | + | ghostp.BottomSurface="Smooth" |
257 | - | bjay.FontSize = 6 |
257 | + | ghostp.RightSurface="Smooth" |
258 | - | bjay.Text = "Bj" |
258 | + | ghostp.LeftSurface="Smooth" |
259 | - | bjay.TextColor3 = White |
259 | + | ghostw=Instance.new("Weld",Character) |
260 | ghostw.Part0=Character.Torso | |
261 | - | function fBase(c) |
261 | + | ghostw.Part1=ghostp |
262 | - | for i,v in pairs(workspace:children()) do |
262 | + | ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
263 | - | if v.Name == 'Base' then |
263 | + | |
264 | - | v:Destroy'' |
264 | + | ghostmesh = Instance.new("FileMesh",ghostp) |
265 | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
266 | ghostmesh.Scale = Vector3.new(5,5,5) | |
267 | - | local b = Instance.new('Part',workspace) |
267 | + | |
268 | - | b.BrickColor = BrickColor.new(c) |
268 | + | ghostp2=Instance.new("Part",Character) |
269 | - | b.Anchored=true |
269 | + | ghostp2.FormFactor="Custom" |
270 | - | b.Name='Base' |
270 | + | ghostp2.Size=Vector3.new(0.2,0.2,0.2) |
271 | - | b.Locked=true |
271 | + | ghostp2.Transparency=1 |
272 | - | b.Size=Vector3.new(512,1.2,512) |
272 | + | ghostp2.CanCollide=false |
273 | - | b.CFrame=CFrame.new(0,0.5,0) |
273 | + | ghostp2.BrickColor = BrickColor.new("Institutional white") |
274 | ghostp2.Material="Neon" | |
275 | - | function SearchPlayer(Player,tab) |
275 | + | ghostp2.TopSurface="Smooth" |
276 | - | if tab==nil then tab={} end |
276 | + | ghostp2.BottomSurface="Smooth" |
277 | - | if Player:lower()=="others" then |
277 | + | ghostp2.RightSurface="Smooth" |
278 | - | local s={} |
278 | + | ghostp2.LeftSurface="Smooth" |
279 | - | for i,v in pairs(game.Players:GetChildren()) do |
279 | + | ghostw2=Instance.new("Weld",Character) |
280 | - | if v ~= game.Players.LocalPlayer then |
280 | + | ghostw2.Part0=Character.Torso |
281 | - | table.insert(s,v) |
281 | + | ghostw2.Part1=ghostp2 |
282 | - | end |
282 | + | ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
283 | ||
284 | - | return s |
284 | + | ghostmesh2 = Instance.new("FileMesh",ghostp2) |
285 | ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432" | |
286 | - | if Player:lower()=="all" then |
286 | + | ghostmesh2.Scale = Vector3.new(10,10,10) |
287 | - | local s={} |
287 | + | |
288 | - | for i,v in pairs(game.Players:GetPlayers()) do |
288 | + | ghostp3=Instance.new("Part",Character) |
289 | - | table.insert(s,v) |
289 | + | ghostp3.FormFactor="Custom" |
290 | ghostp3.Size=Vector3.new(0.2,0.2,0.2) | |
291 | - | return s |
291 | + | ghostp3.Transparency=1 |
292 | ghostp3.CanCollide=false | |
293 | - | for i,v in pairs(game.Players:GetPlayers()) do |
293 | + | ghostp3.BrickColor = BrickColor.new("Institutional white") |
294 | - | if v.Name:lower():find(Player:lower())==1 then |
294 | + | ghostp3.Material="Neon" |
295 | - | table.insert(tab,v) |
295 | + | ghostp3.TopSurface="Smooth" |
296 | ghostp3.BottomSurface="Smooth" | |
297 | ghostp3.RightSurface="Smooth" | |
298 | - | if Player:lower()=="me" then |
298 | + | ghostp2.LeftSurface="Smooth" |
299 | - | local s={} |
299 | + | ghostw3=Instance.new("Weld",Character) |
300 | - | for i,v in pairs(game.Players:GetChildren()) do |
300 | + | ghostw3.Part0=Character.Torso |
301 | - | if v == game.Players.LocalPlayer then |
301 | + | ghostw3.Part1=ghostp3 |
302 | - | table.insert(s,v) |
302 | + | ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
303 | - | end |
303 | + | |
304 | ghostmesh3 = Instance.new("FileMesh",ghostp3) | |
305 | - | return s |
305 | + | ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432" |
306 | ghostmesh3.Scale = Vector3.new(15,15,15) | |
307 | - | return tab |
307 | + | |
308 | ghostp4=Instance.new("Part",Character) | |
309 | - | function kbuttonclick() |
309 | + | ghostp4.FormFactor="Custom" |
310 | - | local user=usertest.Text |
310 | + | ghostp4.Size=Vector3.new(0.2,0.2,0.2) |
311 | - | for i,v in pairs(SearchPlayer(user)) do |
311 | + | ghostp4.Transparency=1 |
312 | - | v.Character:BreakJoints() |
312 | + | ghostp4.CanCollide=false |
313 | ghostp4.BrickColor = BrickColor.new("Institutional white") | |
314 | ghostp4.Material="Neon" | |
315 | - | function dkclick() |
315 | + | ghostp4.TopSurface="Smooth" |
316 | - | local user=usertest.Text |
316 | + | ghostp4.BottomSurface="Smooth" |
317 | - | local sizorz=4 |
317 | + | ghostp4.RightSurface="Smooth" |
318 | - | for i,v in pairs(SearchPlayer(user)) do |
318 | + | ghostp4.LeftSurface="Smooth" |
319 | - | |
319 | + | ghostw4=Instance.new("Weld",Character) |
320 | - | coroutine.resume(coroutine.create(function() |
320 | + | ghostw4.Part0=Character.Torso |
321 | - | person=v.Name |
321 | + | ghostw4.Part1=ghostp4 |
322 | - | color = "Pastel brown" |
322 | + | ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
323 | - | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) |
323 | + | |
324 | - | D = Instance.new("Model",workspace[person]) |
324 | + | ghostmesh4 = Instance.new("FileMesh",ghostp4) |
325 | - | D.Name = "Nice thing" |
325 | + | ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432" |
326 | - | bg = Instance.new("BodyGyro",workspace[person].Torso) |
326 | + | ghostmesh4.Scale = Vector3.new(20,20,20) |
327 | - | d = Instance.new("Part") |
327 | + | |
328 | - | d.TopSurface = 0 |
328 | + | ghostp5=Instance.new("Part",Character) |
329 | - | d.BottomSurface = 0 |
329 | + | ghostp5.FormFactor="Custom" |
330 | - | d.Name = "Main" |
330 | + | ghostp5.Size=Vector3.new(0.2,0.2,0.2) |
331 | - | d.Parent = workspace[person]["Nice thing"] |
331 | + | ghostp5.Transparency=1 |
332 | - | d.formFactor = 3 |
332 | + | ghostp5.CanCollide=false |
333 | - | d.Size = Vector3.new(1,sizorz+0.5,1) |
333 | + | ghostp5.BrickColor = BrickColor.new("Institutional white") |
334 | - | d.BrickColor = BrickColor.new(color) |
334 | + | ghostp5.Material="Neon" |
335 | - | d.Position = workspace[person].Head.Position |
335 | + | ghostp5.TopSurface="Smooth" |
336 | - | d.CanCollide = true |
336 | + | ghostp5.BottomSurface="Smooth" |
337 | - | local cy = Instance.new("CylinderMesh") |
337 | + | ghostp5.RightSurface="Smooth" |
338 | - | cy.Parent = d |
338 | + | ghostp5.LeftSurface="Smooth" |
339 | - | cy.Scale = Vector3.new(1.05,1,1.05) |
339 | + | ghost5w=Instance.new("Weld",Character) |
340 | - | w = Instance.new("Weld") |
340 | + | ghost5w.Part0=Character.Torso |
341 | - | w.Parent = workspace[person].Head |
341 | + | ghost5w.Part1=ghostp5 |
342 | - | w.Part0 = d |
342 | + | ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
343 | - | w.Part1 = workspace[person].Head |
343 | + | |
344 | - | w.C0 = CFrame.new(0,-0.6,1.8)*CFrame.Angles(math.rad(30),0,0) |
344 | + | ghostmesh = Instance.new("FileMesh",ghostp5) |
345 | - | local c = Instance.new("Part") |
345 | + | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" |
346 | - | c.Name = "Mush" |
346 | + | ghostmesh.Scale = Vector3.new(2.5,2.5,2.5) |
347 | - | c.BottomSurface = 0 |
347 | + | |
348 | - | c.TopSurface = 0 |
348 | + | ghostp6=Instance.new("Part",Character) |
349 | - | c.FormFactor = 3 |
349 | + | ghostp6.FormFactor="Custom" |
350 | - | c.Size = Vector3.new(1,1,1) |
350 | + | ghostp6.Size=Vector3.new(0.2,0.2,0.2) |
351 | - | c.CFrame = CFrame.new(d.Position) |
351 | + | ghostp6.Transparency=1 |
352 | - | c.BrickColor = BrickColor.new("Pink") |
352 | + | ghostp6.CanCollide=false |
353 | - | c.CanCollide = true |
353 | + | ghostp6.BrickColor = BrickColor.new("Institutional white") |
354 | - | c.Parent = workspace[person]["Nice thing"] |
354 | + | ghostp6.Material="Neon" |
355 | - | local msm = Instance.new("SpecialMesh") |
355 | + | ghostp6.TopSurface="Smooth" |
356 | - | msm.Parent = c |
356 | + | ghostp6.BottomSurface="Smooth" |
357 | - | msm.MeshType = "Head" |
357 | + | ghostp6.RightSurface="Smooth" |
358 | - | msm.Scale = Vector3.new(1,0.6,1) |
358 | + | ghostp6.LeftSurface="Smooth" |
359 | - | local cw = Instance.new("Weld") |
359 | + | ghost6w=Instance.new("Weld",Character) |
360 | - | cw.Parent = c |
360 | + | ghost6w.Part0=Character.Torso |
361 | - | cw.Part0 = d |
361 | + | ghost6w.Part1=ghostp6 |
362 | - | cw.Part1 = c |
362 | + | ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
363 | - | cw.C0 = CFrame.new(0,2.3,0) |
363 | + | |
364 | - | local ball1 = Instance.new("Part") |
364 | + | ghostmesh = Instance.new("FileMesh",ghostp6) |
365 | - | ball1.Parent = workspace[person]["Nice thing"] |
365 | + | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" |
366 | - | ball1.Name = "Left Ball" |
366 | + | ghostmesh.Scale = Vector3.new(7.5,7.5,7.5) |
367 | - | ball1.BottomSurface = 0 |
367 | + | |
368 | - | ball1.TopSurface = 0 |
368 | + | ghostp7=Instance.new("Part",Character) |
369 | - | ball1.CanCollide = true |
369 | + | ghostp7.FormFactor="Custom" |
370 | - | ball1.formFactor = 3 |
370 | + | ghostp7.Size=Vector3.new(0.2,0.2,0.2) |
371 | - | ball1.Size = Vector3.new(1.2,1.2,1.2) |
371 | + | ghostp7.Transparency=1 |
372 | - | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) |
372 | + | ghostp7.CanCollide=false |
373 | - | ball1.BrickColor = BrickColor.new(color) |
373 | + | ghostp7.BrickColor = BrickColor.new("Institutional white") |
374 | - | local bsm = Instance.new("SpecialMesh") |
374 | + | ghostp7.Material="Neon" |
375 | - | bsm.Parent = ball1 |
375 | + | ghostp7.TopSurface="Smooth" |
376 | - | bsm.MeshType = "Sphere" |
376 | + | ghostp7.BottomSurface="Smooth" |
377 | - | local b1w = Instance.new("Weld") |
377 | + | ghostp7.RightSurface="Smooth" |
378 | - | b1w.Parent = ball1 |
378 | + | ghostp7.LeftSurface="Smooth" |
379 | - | b1w.Part0 = workspace[person].Torso |
379 | + | ghost7w=Instance.new("Weld",Character) |
380 | - | b1w.Part1 = ball1 |
380 | + | ghost7w.Part0=Character.Torso |
381 | - | b1w.C0 = CFrame.new(-0.6,-1,-0.8) |
381 | + | ghost7w.Part1=ghostp7 |
382 | - | local ball2 = Instance.new("Part") |
382 | + | ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
383 | - | ball2.Parent = workspace[person]["Nice thing"] |
383 | + | |
384 | - | ball2.Name = "Right Ball" |
384 | + | ghostmesh = Instance.new("FileMesh",ghostp7) |
385 | - | ball2.BottomSurface = 0 |
385 | + | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" |
386 | - | ball2.CanCollide = true |
386 | + | ghostmesh.Scale = Vector3.new(12.5,12.5,12.5) |
387 | - | ball2.TopSurface = 0 |
387 | + | |
388 | - | ball2.formFactor = 3 |
388 | + | ghostp8=Instance.new("Part",Character) |
389 | - | ball2.Size = Vector3.new(1.2,1.2,1.2) |
389 | + | ghostp8.FormFactor="Custom" |
390 | - | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) |
390 | + | ghostp8.Size=Vector3.new(0.2,0.2,0.2) |
391 | - | ball2.BrickColor = BrickColor.new(color) |
391 | + | ghostp8.Transparency=1 |
392 | - | local b2sm = Instance.new("SpecialMesh") |
392 | + | ghostp8.CanCollide=false |
393 | - | b2sm.Parent = ball2 |
393 | + | ghostp8.BrickColor = BrickColor.new("Institutional white") |
394 | - | b2sm.MeshType = "Sphere" |
394 | + | ghostp8.Material="Neon" |
395 | - | local b2w = Instance.new("Weld") |
395 | + | ghostp8.TopSurface="Smooth" |
396 | - | b2w.Parent = ball2 |
396 | + | ghostp8.BottomSurface="Smooth" |
397 | - | b2w.Part0 = workspace[person].Torso |
397 | + | ghostp8.RightSurface="Smooth" |
398 | - | b2w.Part1 = ball2 |
398 | + | ghostp8.LeftSurface="Smooth" |
399 | - | b2w.C0 = CFrame.new(0.6,-1,-0.8) |
399 | + | ghost8w=Instance.new("Weld",Character) |
400 | - | local char=v.Character |
400 | + | ghost8w.Part0=Character.Torso |
401 | - | local t=char.Torso |
401 | + | ghost8w.Part1=ghostp8 |
402 | - | local lw=Instance.new('Weld',t) |
402 | + | ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
403 | - | lw.Name='leftWeld' |
403 | + | |
404 | - | lw.Part0=t |
404 | + | ghostmesh = Instance.new("FileMesh",ghostp8) |
405 | - | lw.Part1=char['Left Arm'] |
405 | + | ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432" |
406 | - | lw.C0=CFrame.new(-1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(10),math.rad(20)) |
406 | + | ghostmesh.Scale = Vector3.new(17.5,17.5,17.5) |
407 | - | local rw=Instance.new('Weld',t) |
407 | + | |
408 | - | rw.Name='rightWeld' |
408 | + | eyeoutline=Instance.new("Part",Character) |
409 | - | rw.Part0=t |
409 | + | eyeoutline.FormFactor="Custom" |
410 | - | rw.Part1=char['Right Arm'] |
410 | + | eyeoutline.Size=Vector3.new(.200,.2000,.2000) |
411 | - | rw.C0=CFrame.new(1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(-10),math.rad(-20)) |
411 | + | eyeoutline.Transparency=0 |
412 | - | while wait() do |
412 | + | eyeoutline.CanCollide=false |
413 | - | lw.C0=CFrame.new(-1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(10),math.rad(20)) |
413 | + | eyeoutline.BrickColor = BrickColor.new("Really black") |
414 | - | rw.C0=CFrame.new(1.15,1,-1) *CFrame.Angles(math.rad(100),math.rad(-10),math.rad(-20)) |
414 | + | eyeoutline.Material="SmoothPlastic" |
415 | - | wait(0.05) |
415 | + | eyeoutline.TopSurface="Smooth" |
416 | - | lw.C0=CFrame.new(-1.15,0.8,-1) *CFrame.Angles(math.rad(95),math.rad(10),math.rad(20)) |
416 | + | eyeoutline.BottomSurface="Smooth" |
417 | - | rw.C0=CFrame.new(1.15,0.8,-1) *CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20)) |
417 | + | eyeoutline.RightSurface="Smooth" |
418 | - | wait(0.05) |
418 | + | eyeoutline.LeftSurface="Smooth" |
419 | - | lw.C0=CFrame.new(-1.15,0.6,-1) *CFrame.Angles(math.rad(90),math.rad(10),math.rad(20)) |
419 | + | eyeoutlinew=Instance.new("Weld",Character) |
420 | - | rw.C0=CFrame.new(1.15,0.6,-1) *CFrame.Angles(math.rad(90),math.rad(-10),math.rad(-20)) |
420 | + | eyeoutlinew.Part0=Character.Torso |
421 | - | wait(0.05) |
421 | + | eyeoutlinew.Part1=eyeoutline |
422 | - | lw.C0=CFrame.new(-1.15,0.4,-1) *CFrame.Angles(math.rad(85),math.rad(10),math.rad(20)) |
422 | + | eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0)) |
423 | - | rw.C0=CFrame.new(1.15,0.4,-1) *CFrame.Angles(math.rad(85),math.rad(-10),math.rad(-20)) |
423 | + | |
424 | - | wait(0.05) |
424 | + | eyemesh = Instance.new("SpecialMesh",eyeoutline) |
425 | - | lw.C0=CFrame.new(-1.15,0.2,-1) *CFrame.Angles(math.rad(80),math.rad(10),math.rad(20)) |
425 | + | eyemesh.MeshType = "Sphere" |
426 | - | rw.C0=CFrame.new(1.15,0.2,-1) *CFrame.Angles(math.rad(80),math.rad(-10),math.rad(-20)) |
426 | + | eyemesh.Scale = Vector3.new(8.5,8.5,2) |
427 | - | wait(0.05) |
427 | + | |
428 | - | end end)) |
428 | + | eyep=Instance.new("Part",Character) |
429 | eyep.FormFactor="Custom" | |
430 | eyep.Size=Vector3.new(.2000,.2000,.2000) | |
431 | - | function cawm() |
431 | + | eyep.Transparency=0 |
432 | - | local user = usertest.Text |
432 | + | eyep.CanCollide=false |
433 | - | for i,v in pairs(SearchPlayer(user)) do |
433 | + | eyep.BrickColor = BrickColor.new("Cyan") |
434 | - | person = v.Name |
434 | + | eyep.Material="Neon" |
435 | - | while true do |
435 | + | eyep.TopSurface="Smooth" |
436 | - | local s = Instance.new("Part",workspace[person]["Nice thing"]) |
436 | + | eyep.BottomSurface="Smooth" |
437 | - | s.BrickColor = BrickColor.new("White") |
437 | + | eyep.RightSurface="Smooth" |
438 | - | s.Size = Vector3.new(0.5,0.5,0.5) |
438 | + | eyep.LeftSurface="Smooth" |
439 | - | s.TopSurface = 0 |
439 | + | eyepw=Instance.new("Weld",Character) |
440 | - | s.BottomSurface = 0 |
440 | + | eyepw.Part0=eyeoutline |
441 | - | s.Shape = 0 |
441 | + | eyepw.Part1=eyep |
442 | - | s.CFrame = CFrame.new(workspace[person]["Nice thing"].Main.Position+Vector3.new(0,1,0)) |
442 | + | eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
443 | - | local dm = Instance.new("SpecialMesh") |
443 | + | |
444 | - | dm.MeshType = "Sphere" |
444 | + | eyepmesh = Instance.new("SpecialMesh",eyep) |
445 | - | dm.Parent = s |
445 | + | eyepmesh.MeshType = "Sphere" |
446 | - | dm.Scale = Vector3.new(0.1,0.1,0.1) |
446 | + | eyepmesh.Scale = Vector3.new(7.5,7.5,2) |
447 | - | wait(0.5) |
447 | + | |
448 | eyeoutline2=Instance.new("Part",Character) | |
449 | eyeoutline2.FormFactor="Custom" | |
450 | eyeoutline2.Size=Vector3.new(.2000,.2000,.2000) | |
451 | - | function invisible() |
451 | + | eyeoutline2.Transparency=0 |
452 | - | local user=usertest.Text |
452 | + | eyeoutline2.CanCollide=false |
453 | - | for i,v in pairs(SearchPlayer(user)) do |
453 | + | eyeoutline2.BrickColor = BrickColor.new("Really black") |
454 | - | char = v.Character |
454 | + | eyeoutline2.Material="SmoothPlastic" |
455 | - | char["Left Arm"].Transparency = 1 |
455 | + | eyeoutline2.TopSurface="Smooth" |
456 | - | char["Right Arm"].Transparency = 1 |
456 | + | eyeoutline2.BottomSurface="Smooth" |
457 | - | char["Left Leg"].Transparency = 1 |
457 | + | eyeoutline2.RightSurface="Smooth" |
458 | - | char["Right Leg"].Transparency = 1 |
458 | + | eyeoutline2.LeftSurface="Smooth" |
459 | - | char.Torso.Transparency = 1 |
459 | + | eyeoutline2w=Instance.new("Weld",Character) |
460 | - | char.Head.Transparency = 1 |
460 | + | eyeoutline2w.Part0=Character.Torso |
461 | - | char.Head.face.Texture = nil |
461 | + | eyeoutline2w.Part1=eyeoutline2 |
462 | - | for i,v in pairs(char:children()) do |
462 | + | eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0)) |
463 | - | if v.className == "Hat" then |
463 | + | |
464 | - | v.Transparency = 1 |
464 | + | eyemesh = Instance.new("SpecialMesh",eyeoutline2) |
465 | eyemesh.MeshType = "Sphere" | |
466 | eyemesh.Scale = Vector3.new(8.5,8.5,2) | |
467 | ||
468 | eyep2=Instance.new("Part",Character) | |
469 | - | function FF(x) |
469 | + | eyep2.FormFactor="Custom" |
470 | - | local abc = Instance.new("ForceField",x) |
470 | + | eyep2.Size=Vector3.new(.2000,.2000,.2000) |
471 | eyep2.Transparency=0 | |
472 | - | function godclick() |
472 | + | eyep2.CanCollide=false |
473 | - | local user = usertest.Text |
473 | + | eyep2.BrickColor = BrickColor.new("Cyan") |
474 | - | for i, v in pairs(SearchPlayer(user)) do |
474 | + | eyep2.Material="Neon" |
475 | - | v.Character.Humanoid.MaxHealth = math.huge |
475 | + | eyep2.TopSurface="Smooth" |
476 | - | FF(v.Character) |
476 | + | eyep2.BottomSurface="Smooth" |
477 | eyep2.RightSurface="Smooth" | |
478 | eyep2.LeftSurface="Smooth" | |
479 | - | function twclick() |
479 | + | eyep2w=Instance.new("Weld",Character) |
480 | - | local user = usertest.Text |
480 | + | eyep2w.Part0=eyeoutline2 |
481 | - | local user2 = twuser.Text |
481 | + | eyep2w.Part1=eyep2 |
482 | - | for i,v in pairs(SearchPlayer(user)) do |
482 | + | eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
483 | - | for c,b in pairs(SearchPlayer(user2)) do |
483 | + | |
484 | - | pcall(function() |
484 | + | eyep2mesh = Instance.new("SpecialMesh",eyep2) |
485 | - | n1 = v.Name |
485 | + | eyep2mesh.MeshType = "Sphere" |
486 | - | n2 = b.Name |
486 | + | eyep2mesh.Scale = Vector3.new(7.5,7.5,2) |
487 | - | t1 = workspace[n1].Torso |
487 | + | |
488 | - | t2 = workspace[n2].Torso |
488 | + | local spotlight = Instance.new("SpotLight", eyep) |
489 | - | t2.Parent.Humanoid.PlatformStand = true |
489 | + | spotlight.Shadows = true |
490 | - | t1["Left Shoulder"]:Remove() |
490 | + | spotlight.Color = Color3.new(0, 0.666667, 1) |
491 | - | ls1 = Instance.new("Weld") |
491 | + | spotlight.Range = 24 |
492 | - | ls1.Parent = t1 |
492 | + | spotlight.Angle = 60 |
493 | - | ls1.Part0 = t1 |
493 | + | spotlight.Brightness = 100 |
494 | - | ls1.Part1 = t1.Parent["Left Arm"] |
494 | + | |
495 | - | ls1.C0 = CFrame.new(-1.5,0,0) |
495 | + | local spotlight2 = Instance.new("SpotLight", eyep2) |
496 | - | ls1.Name = "Left Shoulder" |
496 | + | spotlight2.Shadows = true |
497 | - | t1["Right Shoulder"]:Remove() |
497 | + | spotlight2.Color = Color3.new(0, 0.666667, 1) |
498 | - | rs1 = Instance.new("Weld") |
498 | + | spotlight2.Range = 24 |
499 | - | rs1.Parent = t1 |
499 | + | spotlight2.Angle = 60 |
500 | - | rs1.Part0 = t1 |
500 | + | spotlight2.Brightness = 100 |
501 | - | rs1.Part1 = t1.Parent["Right Arm"] |
501 | + | |
502 | - | rs1.C0 = CFrame.new(1.5,0,0) |
502 | + | local particleemitter = Instance.new("ParticleEmitter", Torso) |
503 | - | rs1.Name = "Right Shoulder" |
503 | + | particleemitter.VelocitySpread = 180 |
504 | - | t2["Left Shoulder"]:Remove() |
504 | + | particleemitter.Lifetime = NumberRange.new(1) |
505 | - | ls2 = Instance.new("Weld") |
505 | + | particleemitter.Speed = NumberRange.new(10) |
506 | - | ls2.Parent = t2 |
506 | + | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
507 | - | ls2.Part0 = t2 |
507 | + | particleemitter.RotSpeed = NumberRange.new(-180, 180) |
508 | - | ls2.Part1 = t2.Parent["Left Arm"] |
508 | + | particleemitter.Rotation = NumberRange.new(-360, 360) |
509 | - | ls2.C0 = CFrame.new(-1.5,0,0) |
509 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
510 | - | ls2.Name = "Left Shoulder" |
510 | + | particleemitter.LightEmission = 1 |
511 | - | t2["Right Shoulder"]:Remove() |
511 | + | particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786" |
512 | - | rs2 = Instance.new("Weld") |
512 | + | particleemitter.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
513 | - | rs2.Parent = t2 |
513 | + | |
514 | - | rs2.Part0 = t2 |
514 | + | emitterp=Instance.new("Part",Character) |
515 | - | rs2.Part1 = t2.Parent["Right Arm"] |
515 | + | emitterp.FormFactor="Custom" |
516 | - | rs2.C0 = CFrame.new(1.5,0,0) |
516 | + | emitterp.Size=Vector3.new(5,.2,5) |
517 | - | rs2.Name = "Right Shoulder" |
517 | + | emitterp.Transparency=1 |
518 | - | t2["Left Hip"]:Remove() |
518 | + | emitterp.CanCollide=false |
519 | - | lh2 = Instance.new("Weld") |
519 | + | emitterp.BrickColor = BrickColor.new("Cyan") |
520 | - | lh2.Parent = t2 |
520 | + | emitterp.Material="Neon" |
521 | - | lh2.Part0 = t2 |
521 | + | emitterp.TopSurface="Smooth" |
522 | - | lh2.Part1 = t2.Parent["Left Leg"] |
522 | + | emitterp.BottomSurface="Smooth" |
523 | - | lh2.C0 = CFrame.new(-0.5,-2,0) |
523 | + | emitterp.RightSurface="Smooth" |
524 | - | lh2.Name = "Left Hip" |
524 | + | emitterp.LeftSurface="Smooth" |
525 | - | t2["Right Hip"]:Remove() |
525 | + | emitterpw=Instance.new("Weld",Character) |
526 | - | rh2 = Instance.new("Weld") |
526 | + | emitterpw.Part0=Character.Torso |
527 | - | rh2.Parent = t2 |
527 | + | emitterpw.Part1=emitterp |
528 | - | rh2.Part0 = t2 |
528 | + | emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
529 | - | rh2.Part1 = t2.Parent["Right Leg"] |
529 | + | |
530 | - | rh2.C0 = CFrame.new(0.5,-2,0) |
530 | + | local emitter = Instance.new("ParticleEmitter", emitterp) |
531 | - | rh2.Name = "Right Hip" |
531 | + | emitter.EmissionDirection = "Bottom" |
532 | - | local d = Instance.new("Part") |
532 | + | emitter.VelocitySpread = 30 |
533 | - | d.TopSurface = 0 |
533 | + | emitter.Lifetime = NumberRange.new(1) |
534 | - | d.BottomSurface = 0 |
534 | + | emitter.Speed = NumberRange.new(10) |
535 | - | d.CanCollide = false |
535 | + | emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)}) |
536 | - | d.BrickColor = BrickColor.new("Pastel brown") |
536 | + | emitter.RotSpeed = NumberRange.new(-180, 180) |
537 | - | d.Shape = "Ball" |
537 | + | emitter.Rate = 1000 |
538 | - | d.Parent = t1 |
538 | + | emitter.Rotation = NumberRange.new(-360, 360) |
539 | - | d.Size = Vector3.new(1,1,1) |
539 | + | emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
540 | - | local dm = Instance.new("SpecialMesh") |
540 | + | emitter.LightEmission = 1 |
541 | - | dm.MeshType = "Sphere" |
541 | + | emitter.Texture = "http://www.roblox.com/asset/?id=31727915" |
542 | - | dm.Parent = d |
542 | + | emitter.Color = ColorSequence.new(Color3.new(0.596078, 0.847059, 1), Color3.new(0.596078, 0.847059, 1)) |
543 | - | dm.Scale = Vector3.new(0.7,0.7,0.7) |
543 | + | |
544 | - | fWeld("weld",t1,t1,d,true,-0.35,-1.3,-0.6,0,0,0) |
544 | + | local eyeeffect = Instance.new("ParticleEmitter", eyep) |
545 | - | d2 = d:Clone() |
545 | + | eyeeffect.Lifetime = NumberRange.new(1) |
546 | - | d2.Parent = t1 |
546 | + | eyeeffect.Speed = NumberRange.new(0) |
547 | - | fWeld("weld",t1,t1,d2,true,0.35,-1.3,-0.6,0,0,0) |
547 | + | eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)}) |
548 | - | local c = Instance.new("Part") |
548 | + | eyeeffect.RotSpeed = NumberRange.new(1080) |
549 | - | c.TopSurface = 0 |
549 | + | eyeeffect.Rate = 25 |
550 | - | c.BottomSurface = 0 |
550 | + | eyeeffect.Rotation = NumberRange.new(-360, 360) |
551 | - | c.CanCollide = false |
551 | + | eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)}) |
552 | - | c.BrickColor = BrickColor.new("Pastel brown") |
552 | + | eyeeffect.LightEmission = 0.5 |
553 | - | c.Parent = t1 |
553 | + | eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288" |
554 | - | c.formFactor = "Custom" |
554 | + | eyeeffect.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
555 | - | c.Size = Vector3.new(0.6,1.3,0.6) |
555 | + | eyeeffect.LockedToPart = true |
556 | - | cm = Instance.new("CylinderMesh") |
556 | + | eyeeffect.Enabled = false |
557 | - | cm.Parent = c |
557 | + | |
558 | - | a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-90),0,0) |
558 | + | local eyeeffect2 = Instance.new("ParticleEmitter", eyep2) |
559 | - | c2 = d:Clone() |
559 | + | eyeeffect2.Lifetime = NumberRange.new(1) |
560 | - | c2.BrickColor = BrickColor.new("Pink") |
560 | + | eyeeffect2.Speed = NumberRange.new(0) |
561 | - | c2.Mesh.Scale = Vector3.new(0.599,0.62,0.699) |
561 | + | eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)}) |
562 | - | c2.Parent = t1 |
562 | + | eyeeffect2.RotSpeed = NumberRange.new(1080) |
563 | - | c2.Mesh.MeshType = "Head" |
563 | + | eyeeffect2.Rate = 25 |
564 | - | fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,0,0,0) |
564 | + | eyeeffect2.Rotation = NumberRange.new(-360, 360) |
565 | - | local bl = Instance.new("Part") |
565 | + | eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)}) |
566 | - | bl.TopSurface = 0 |
566 | + | eyeeffect2.LightEmission = 0.5 |
567 | - | bl.BottomSurface = 0 |
567 | + | eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288" |
568 | - | bl.CanCollide = false |
568 | + | eyeeffect2.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
569 | - | bl.BrickColor = BrickColor.new("Pastel brown") |
569 | + | eyeeffect2.LockedToPart = true |
570 | - | bl.Shape = "Ball" |
570 | + | eyeeffect2.Enabled = false |
571 | - | bl.Parent = t2 |
571 | + | |
572 | - | bl.Size = Vector3.new(1,1,1) |
572 | + | coroutine.resume(coroutine.create(function(Part,Weld) |
573 | - | local dm = Instance.new("SpecialMesh") |
573 | + | while Part.Parent~=nil do |
574 | - | dm.MeshType = "Sphere" |
574 | + | wait(5) |
575 | - | dm.Parent = bl |
575 | + | for i=0,1,0.2 do |
576 | - | dm.Scale = Vector3.new(1.2,1.2,1.2) |
576 | + | |
577 | - | fWeld("weld",t2,t2,bl,true,-0.5,-1,0,0,0,0) |
577 | + | spotlight.Angle = 60-60*i |
578 | - | local br = Instance.new("Part") |
578 | + | eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2) |
579 | - | br.TopSurface = 0 |
579 | + | |
580 | - | br.BottomSurface = 0 |
580 | + | for i=0,1,0.2 do |
581 | - | br.CanCollide = false |
581 | + | |
582 | - | br.BrickColor = BrickColor.new("Pastel brown") |
582 | + | spotlight.Angle = 0+60*i |
583 | - | br.Shape = "Ball" |
583 | + | eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2) |
584 | - | br.Parent = t2 |
584 | + | |
585 | - | br.Size = Vector3.new(1,1,1) |
585 | + | spotlight.Angle = 60 |
586 | - | local dm = Instance.new("SpecialMesh") |
586 | + | |
587 | - | dm.MeshType = "Sphere" |
587 | + | end),eyep,eyepw) |
588 | - | dm.Parent = br |
588 | + | |
589 | - | dm.Scale = Vector3.new(1.2,1.2,1.2) |
589 | + | coroutine.resume(coroutine.create(function(Part,Weld) |
590 | - | fWeld("weld",t2,t2,br,true,0.5,-1,0,0,0,0) |
590 | + | while Part.Parent~=nil do |
591 | - | lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0) |
591 | + | wait(5) |
592 | - | rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0) |
592 | + | for i=0,1,0.2 do |
593 | - | ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0) |
593 | + | |
594 | - | rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0) |
594 | + | spotlight2.Angle = 60-60*i |
595 | - | ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0) |
595 | + | eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2) |
596 | - | rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0) |
596 | + | |
597 | - | if t1:findFirstChild("weldx") ~= nil then |
597 | + | for i=0,1,0.2 do |
598 | - | t1.weldx:Remove() |
598 | + | |
599 | spotlight2.Angle = 0+60*i | |
600 | eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2) | |
601 | end | |
602 | - | while wait() do |
602 | + | spotlight2.Angle = 60 |
603 | - | for i = 1,6*5 do |
603 | + | |
604 | - | we.C1 = we.C1 * CFrame.new(0,-0.4/5,0) |
604 | + | end),eyep2,eyep2w) |
605 | -------------------------------------------------------------- | |
606 | Arm = Instance.new("Model",Character) | |
607 | Arm.Name = "Arm 1" | |
608 | - | for i = 1,6*5 do |
608 | + | |
609 | - | we.C1 = we.C1 * CFrame.new(0,0.4/5,0) |
609 | + | arm1p=Instance.new("Part",Character) |
610 | arm1p.FormFactor="Custom" | |
611 | arm1p.Size=Vector3.new(.2000,.2000,.2000) | |
612 | arm1p.Transparency=0 | |
613 | arm1p.CanCollide=false | |
614 | arm1p.BrickColor = BrickColor.new("Pastel light blue") | |
615 | - | while wait() do |
615 | + | arm1p.Material="Sand" |
616 | - | for i=1,90 do |
616 | + | arm1p.TopSurface="Smooth" |
617 | - | n.C0 = n.C0 *CFrame.Angles(0,0,math.rad(-1)) |
617 | + | arm1p.BottomSurface="Smooth" |
618 | - | wait(0.0005) |
618 | + | arm1p.RightSurface="Smooth" |
619 | arm1p.LeftSurface="Smooth" | |
620 | - | for i=1,90 do |
620 | + | arm1pw=Instance.new("Weld",Character) |
621 | - | n.C0 = n.C0 *CFrame.Angles(0,0,math.rad(1)) |
621 | + | arm1pw.Part0=Character["Right Arm"] |
622 | - | wait(0.0005) |
622 | + | arm1pw.Part1=arm1p |
623 | arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90)) | |
624 | ||
625 | arm1pmesh = Instance.new("SpecialMesh",arm1p) | |
626 | - | end |
626 | + | arm1pmesh.MeshType = "Sphere" |
627 | arm1pmesh.Scale = Vector3.new(40,20,40) | |
628 | ||
629 | - | function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f) |
629 | + | local particleemitter2 = Instance.new("ParticleEmitter", arm1p) |
630 | - | local funcw = Instance.new("Weld") |
630 | + | particleemitter2.VelocitySpread = 180 |
631 | - | funcw.Name = zName |
631 | + | particleemitter2.Lifetime = NumberRange.new(1) |
632 | - | funcw.Parent = zParent |
632 | + | particleemitter2.Speed = NumberRange.new(10) |
633 | - | funcw.Part0 = zPart0 |
633 | + | particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
634 | - | funcw.Part1 = zPart1 |
634 | + | particleemitter2.RotSpeed = NumberRange.new(-180, 180) |
635 | - | if (zCoco == true) then |
635 | + | particleemitter2.Rotation = NumberRange.new(-360, 360) |
636 | - | funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) |
636 | + | particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
637 | - | else |
637 | + | particleemitter2.LightEmission = 1 |
638 | - | funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) |
638 | + | particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786" |
639 | particleemitter2.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) | |
640 | - | return funcw |
640 | + | particleemitter2.Enabled = false |
641 | ||
642 | - | function ttbuttonclick() |
642 | + | arm1p2=Instance.new("Part",Character) |
643 | - | local user = usertest.Text |
643 | + | arm1p2.FormFactor="Custom" |
644 | - | local size = twuser.Text |
644 | + | arm1p2.Size=Vector3.new(.2000,.200,.2000) |
645 | - | local abcd=size*2 |
645 | + | arm1p2.Transparency=0 |
646 | - | for i,v in pairs(SearchPlayer(user)) do |
646 | + | arm1p2.CanCollide=false |
647 | - | t2 = v.Character.Torso |
647 | + | arm1p2.BrickColor = BrickColor.new("Pastel light blue") |
648 | - | mdl = Instance.new("Model",t2) |
648 | + | arm1p2.Material="Sand" |
649 | - | mdl.Name = "Mangos" |
649 | + | arm1p2.TopSurface="Smooth" |
650 | - | local bl = Instance.new("Part") |
650 | + | arm1p2.BottomSurface="Smooth" |
651 | - | bl.TopSurface = 0 |
651 | + | arm1p2.RightSurface="Smooth" |
652 | - | bl.BottomSurface = 0 |
652 | + | arm1p2.LeftSurface="Smooth" |
653 | - | bl.CanCollide = true |
653 | + | arm1p2w=Instance.new("Weld",Character) |
654 | - | bl.BrickColor = BrickColor.new("Pastel brown") |
654 | + | arm1p2w.Part0=arm1p |
655 | - | bl.Shape = "Ball" |
655 | + | arm1p2w.Part1=arm1p2 |
656 | - | bl.Parent = mdl |
656 | + | arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90)) |
657 | - | bl.Size = Vector3.new(size,size,size) |
657 | + | |
658 | - | local dm = Instance.new("SpecialMesh") |
658 | + | arm1p2mesh = Instance.new("SpecialMesh",arm1p2) |
659 | - | dm.MeshType = "Sphere" |
659 | + | arm1p2mesh.MeshType = "Cylinder" |
660 | - | dm.Parent = bl |
660 | + | arm1p2mesh.Scale = Vector3.new(30,20,30) |
661 | - | dm.Scale = Vector3.new(1.2,1.2,1.2) |
661 | + | |
662 | - | fWeld("weld",mdl,t2,bl,true,-size/2,size/abcd,-size/2,0,0,0) |
662 | + | local particleemitter3 = Instance.new("ParticleEmitter", arm1p2) |
663 | - | local br = Instance.new("Part") |
663 | + | particleemitter3.VelocitySpread = 180 |
664 | - | br.TopSurface = 0 |
664 | + | particleemitter3.Lifetime = NumberRange.new(1) |
665 | - | br.BottomSurface = 0 |
665 | + | particleemitter3.Speed = NumberRange.new(10) |
666 | - | br.CanCollide = true |
666 | + | particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
667 | - | br.BrickColor = BrickColor.new("Pastel brown") |
667 | + | particleemitter3.RotSpeed = NumberRange.new(-180, 180) |
668 | - | br.Shape = "Ball" |
668 | + | particleemitter3.Rotation = NumberRange.new(-360, 360) |
669 | - | br.Parent = mdl |
669 | + | particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
670 | - | br.Size = Vector3.new(size,size,size) |
670 | + | particleemitter3.LightEmission = 1 |
671 | - | local dm = Instance.new("SpecialMesh") |
671 | + | particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786" |
672 | - | dm.MeshType = "Sphere" |
672 | + | particleemitter3.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
673 | - | dm.Parent = br |
673 | + | particleemitter3.Enabled = false |
674 | - | dm.Scale = Vector3.new(1.2,1.2,1.2) |
674 | + | |
675 | - | fWeld("weld",mdl,t2,br,true,size/2,size/abcd,-size/2,0,0,0) |
675 | + | arm1p3=Instance.new("Part",Character) |
676 | - | local bln = Instance.new("Part") |
676 | + | arm1p3.FormFactor="Custom" |
677 | - | bln.BrickColor = BrickColor.new("Pink") |
677 | + | arm1p3.Size=Vector3.new(.20000,.20000,.20000) |
678 | - | bln.TopSurface = 0 |
678 | + | arm1p3.Transparency=0 |
679 | - | bln.BottomSurface = 0 |
679 | + | arm1p3.CanCollide=false |
680 | - | bln.CanCollide = true |
680 | + | arm1p3.BrickColor = BrickColor.new("Pastel light blue") |
681 | - | bln.Shape = "Ball" |
681 | + | arm1p3.Material="Sand" |
682 | - | bln.Parent = mdl |
682 | + | arm1p3.TopSurface="Smooth" |
683 | - | bln.Size = Vector3.new(1,1,1) |
683 | + | arm1p3.BottomSurface="Smooth" |
684 | - | bln.CFrame = CFrame.new(bl.Position) |
684 | + | arm1p3.RightSurface="Smooth" |
685 | - | local dm = Instance.new("SpecialMesh") |
685 | + | arm1p3.LeftSurface="Smooth" |
686 | - | dm.MeshType = "Sphere" |
686 | + | arm1p3w=Instance.new("Weld",Character) |
687 | - | dm.Parent = bln |
687 | + | arm1p3w.Part0=arm1p2 |
688 | - | dm.Scale = Vector3.new(size/10,size/10,size/10) |
688 | + | arm1p3w.Part1=arm1p3 |
689 | - | if size == 1 then |
689 | + | arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
690 | - | dm.Scale = Vector3.new(0.2,0.2,0.2) |
690 | + | |
691 | arm1p3mesh = Instance.new("SpecialMesh",arm1p3) | |
692 | - | fWeld("weld",mdl,t2,bln,true,-size/2,size/abcd,-size-size/10,0,0,0) |
692 | + | arm1p3mesh.MeshType = "Sphere" |
693 | - | local brn = Instance.new("Part") |
693 | + | arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5) |
694 | - | brn.BrickColor = BrickColor.new("Pink") |
694 | + | |
695 | - | brn.TopSurface = 0 |
695 | + | local particleemitter4 = Instance.new("ParticleEmitter", arm1p3) |
696 | - | brn.BottomSurface = 0 |
696 | + | particleemitter4.VelocitySpread = 180 |
697 | - | brn.CanCollide = true |
697 | + | particleemitter4.Lifetime = NumberRange.new(1) |
698 | - | brn.Shape = "Ball" |
698 | + | particleemitter4.Speed = NumberRange.new(10) |
699 | - | brn.Parent = mdl |
699 | + | particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
700 | - | brn.Size = Vector3.new(1,1,1) |
700 | + | particleemitter4.RotSpeed = NumberRange.new(-180, 180) |
701 | - | brn.CFrame = CFrame.new(br.Position) |
701 | + | particleemitter4.Rotation = NumberRange.new(-360, 360) |
702 | - | local dm = Instance.new("SpecialMesh") |
702 | + | particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
703 | - | dm.MeshType = "Sphere" |
703 | + | particleemitter4.LightEmission = 1 |
704 | - | dm.Parent = brn |
704 | + | particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786" |
705 | - | dm.Scale = Vector3.new(size/10,size/10,size/10) |
705 | + | particleemitter4.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
706 | - | if size == 1 then |
706 | + | particleemitter4.Enabled = false |
707 | - | dm.Scale = Vector3.new(0.2,0.2,0.2) |
707 | + | |
708 | arm1p4=Instance.new("Part",Character) | |
709 | - | fWeld("weld",mdl,t2,brn,true,size/2,size/abcd,-size-size/10,0,0,0) |
709 | + | arm1p4.FormFactor="Custom" |
710 | arm1p4.Size=Vector3.new(.2000,.2000,.2000) | |
711 | arm1p4.Transparency=0 | |
712 | - | function msgclick() |
712 | + | arm1p4.CanCollide=false |
713 | - | local user = usertest.Text |
713 | + | arm1p4.BrickColor = BrickColor.new("Pastel light blue") |
714 | - | local message = option.Text |
714 | + | arm1p4.Material="Sand" |
715 | - | for i,v in pairs(SearchPlayer(user)) do |
715 | + | arm1p4.TopSurface="Smooth" |
716 | - | local msg = message |
716 | + | arm1p4.BottomSurface="Smooth" |
717 | - | msg = message:gsub(([[`]]),"\127") |
717 | + | arm1p4.RightSurface="Smooth" |
718 | - | game:service'Chat':Chat(v.Character.Head,msg,Enum.ChatColor.Blue) |
718 | + | arm1p4.LeftSurface="Smooth" |
719 | arm1p4w=Instance.new("Weld",Character) | |
720 | arm1p4w.Part0=arm1p3 | |
721 | - | function nkdbuttonclick() |
721 | + | arm1p4w.Part1=arm1p4 |
722 | - | nkdclr = BrickColor.new("Pastel brown") |
722 | + | arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45)) |
723 | - | local user = usertest.Text |
723 | + | |
724 | - | for i,v in pairs(SearchPlayer(user)) do |
724 | + | arm1p4mesh = Instance.new("SpecialMesh",arm1p4) |
725 | - | v.Character["Left Arm"].BrickColor = nkdclr |
725 | + | arm1p4mesh.MeshType = "Cylinder" |
726 | - | v.Character["Right Arm"].BrickColor = nkdclr |
726 | + | arm1p4mesh.Scale = Vector3.new(30,20,30) |
727 | - | v.Character["Left Leg"].BrickColor = nkdclr |
727 | + | |
728 | - | v.Character["Right Leg"].BrickColor = nkdclr |
728 | + | local particleemitter5 = Instance.new("ParticleEmitter", arm1p4) |
729 | - | v.Character.Head.BrickColor = nkdclr |
729 | + | particleemitter5.VelocitySpread = 180 |
730 | - | v.Character.Torso.BrickColor = nkdclr |
730 | + | particleemitter5.Lifetime = NumberRange.new(1) |
731 | - | if v.Character.Torso.roblox then |
731 | + | particleemitter5.Speed = NumberRange.new(10) |
732 | - | v.Character.Torso.roblox:Destroy() |
732 | + | particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
733 | particleemitter5.RotSpeed = NumberRange.new(-180, 180) | |
734 | - | if v.Character.Shirt then |
734 | + | particleemitter5.Rotation = NumberRange.new(-360, 360) |
735 | - | v.Character.Shirt:Destroy() |
735 | + | particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
736 | particleemitter5.LightEmission = 1 | |
737 | - | if v.Character.Pants then |
737 | + | particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786" |
738 | - | v.Character.Pants:Destroy() |
738 | + | particleemitter5.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
739 | particleemitter5.Enabled = false | |
740 | - | if v.Character["Body Colors"] then |
740 | + | |
741 | - | local bc = v.Character["Body Colors"] |
741 | + | arm1p5=Instance.new("Part",Character) |
742 | - | bc.TorsoColor = nkdclr |
742 | + | arm1p5.FormFactor="Custom" |
743 | - | bc.LeftArmColor = nkdclr |
743 | + | arm1p5.Size=Vector3.new(.2000,.2000,.2000) |
744 | - | bc.LeftLegColor = nkdclr |
744 | + | arm1p5.Transparency=0 |
745 | - | bc.RightArmColor = nkdclr |
745 | + | arm1p5.CanCollide=false |
746 | - | bc.RightLegColor = nkdclr |
746 | + | arm1p5.BrickColor = BrickColor.new("Pastel light blue") |
747 | - | bc.HeadColor = nkdclr |
747 | + | arm1p5.Material="Sand" |
748 | arm1p5.TopSurface="Smooth" | |
749 | - | if v.Character["Shirt Graphic"] then |
749 | + | arm1p5.BottomSurface="Smooth" |
750 | - | v.Character["Shirt Graphic"]:Destroy() |
750 | + | arm1p5.RightSurface="Smooth" |
751 | - | v.Character.Torso.roblox:Destroy() |
751 | + | arm1p5.LeftSurface="Smooth" |
752 | arm1p5w=Instance.new("Weld",Character) | |
753 | - | v.Character["Left Arm"].BrickColor = nkdclr |
753 | + | arm1p5w.Part0=arm1p4 |
754 | - | v.Character["Right Arm"].BrickColor = nkdclr |
754 | + | arm1p5w.Part1=arm1p5 |
755 | - | v.Character["Left Leg"].BrickColor = nkdclr |
755 | + | arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
756 | - | v.Character["Right Leg"].BrickColor = nkdclr |
756 | + | |
757 | - | v.Character.Head.BrickColor = nkdclr |
757 | + | arm1p5mesh = Instance.new("SpecialMesh",arm1p5) |
758 | - | v.Character.Torso.BrickColor = nkdclr |
758 | + | arm1p5mesh.MeshType = "Sphere" |
759 | arm1p5mesh.Scale = Vector3.new(30,30,30) | |
760 | ||
761 | - | function threewayc() |
761 | + | local particleemitter6 = Instance.new("ParticleEmitter", arm1p5) |
762 | - | local user=usertest.Text |
762 | + | particleemitter6.VelocitySpread = 180 |
763 | - | local user2=twuser.Text |
763 | + | particleemitter6.Lifetime = NumberRange.new(1) |
764 | - | local user3=threewayuser.Text |
764 | + | particleemitter6.Speed = NumberRange.new(10) |
765 | - | for i,v in pairs(SearchPlayer(user)) do |
765 | + | particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
766 | - | for c,b in pairs(SearchPlayer(user2)) do |
766 | + | particleemitter6.RotSpeed = NumberRange.new(-180, 180) |
767 | - | for y,x in pairs(SearchPlayer(user3)) do |
767 | + | particleemitter6.Rotation = NumberRange.new(-360, 360) |
768 | - | coroutine.resume(coroutine.create(function() |
768 | + | particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
769 | - | p1 = v.Name |
769 | + | particleemitter6.LightEmission = 1 |
770 | - | p2 = b.Name |
770 | + | particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786" |
771 | - | p3 = x.Name |
771 | + | particleemitter6.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
772 | - | repeat wait() |
772 | + | particleemitter6.Enabled = false |
773 | - | until workspace[p1] and workspace[p2] and workspace[p3] |
773 | + | |
774 | - | t1 = workspace[p1].Torso |
774 | + | arm1p6=Instance.new("Part",Character) |
775 | - | t2 = workspace[p2].Torso |
775 | + | arm1p6.FormFactor="Custom" |
776 | - | t3 = workspace[p3].Torso |
776 | + | arm1p6.Size=Vector3.new(.20000,.2000,.20000) |
777 | - | t1.Parent.Humanoid.WalkSpeed = 6 |
777 | + | arm1p6.Transparency=0 |
778 | - | t2.Parent.Humanoid.PlatformStand = true |
778 | + | arm1p6.CanCollide=false |
779 | - | t3.Parent.Humanoid.PlatformStand = true |
779 | + | arm1p6.BrickColor = BrickColor.new("Pastel light blue") |
780 | - | pcall(function() t1.D:Destroy(); end) |
780 | + | arm1p6.Material="Sand" |
781 | - | model = Instance.new("Model",t1) |
781 | + | arm1p6.TopSurface="Smooth" |
782 | - | model.Name = "D" |
782 | + | arm1p6.BottomSurface="Smooth" |
783 | - | d1 = Instance.new("Part",model) |
783 | + | arm1p6.RightSurface="Smooth" |
784 | - | d1.Name = "Main1" |
784 | + | arm1p6.LeftSurface="Smooth" |
785 | - | d1.BrickColor = BrickColor.new("Pastel brown") |
785 | + | arm1p6w=Instance.new("Weld",Character) |
786 | - | d1.formFactor = "Custom" |
786 | + | arm1p6w.Part0=arm1p5 |
787 | - | d1.TopSurface = 0 |
787 | + | arm1p6w.Part1=arm1p6 |
788 | - | d1.BottomSurface = 0 |
788 | + | arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
789 | - | d1.Size = Vector3.new(0.5,4,0.5) |
789 | + | |
790 | - | d1.CFrame = CFrame.new(t1.Parent.Head.Position) |
790 | + | arm1p6mesh = Instance.new("FileMesh",arm1p6) |
791 | - | c1 = Instance.new("CylinderMesh",d1) |
791 | + | arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" |
792 | - | wd1 = Instance.new("Weld",d1) |
792 | + | arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15) |
793 | - | wd1.Part0 = d1 |
793 | + | |
794 | - | wd1.Part1 = t1.Parent.Head |
794 | + | arm1p7=Instance.new("Part",Character) |
795 | - | wd1.C0 = CFrame.new(0,-1.5,2.5) * CFrame.Angles(math.rad(90),0,0) |
795 | + | arm1p7.FormFactor="Custom" |
796 | - | b1 = Instance.new("Part",model) |
796 | + | arm1p7.Size=Vector3.new(.2000,.2000,.2000) |
797 | - | b1.Name = "B1" |
797 | + | arm1p7.Transparency=0 |
798 | - | b1.BrickColor = d1.BrickColor |
798 | + | arm1p7.CanCollide=false |
799 | - | b1.TopSurface = 0 |
799 | + | arm1p7.BrickColor = BrickColor.new("Pastel light blue") |
800 | - | b1.BottomSurface = 0 |
800 | + | arm1p7.Material="Sand" |
801 | - | b1.formFactor = "Custom" |
801 | + | arm1p7.TopSurface="Smooth" |
802 | - | b1.Size = Vector3.new(1,1,1) |
802 | + | arm1p7.BottomSurface="Smooth" |
803 | - | b1.Shape = "Ball" |
803 | + | arm1p7.RightSurface="Smooth" |
804 | - | bm1 = Instance.new("SpecialMesh",b1) |
804 | + | arm1p7.LeftSurface="Smooth" |
805 | - | bm1.MeshType = "Sphere" |
805 | + | arm1p7w=Instance.new("Weld",Character) |
806 | - | wb1 = Instance.new("Weld",b1) |
806 | + | arm1p7w.Part0=arm1p |
807 | - | wb1.Part0 = b1 |
807 | + | arm1p7w.Part1=arm1p7 |
808 | - | wb1.Part1 = d1 |
808 | + | arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
809 | - | wb1.C0 = CFrame.new(0.4,0.8,0.3) |
809 | + | |
810 | - | b2 = Instance.new("Part",model) |
810 | + | arm1p7mesh = Instance.new("FileMesh",arm1p7) |
811 | - | b2.Name = "B2" |
811 | + | arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" |
812 | - | b2.BrickColor = d1.BrickColor |
812 | + | arm1p7mesh.Scale = Vector3.new(5,10,5) |
813 | - | b2.TopSurface = 0 |
813 | + | |
814 | - | b2.BottomSurface = 0 |
814 | + | arm1hitbox=Instance.new("Part",Character) |
815 | - | b2.formFactor = "Custom" |
815 | + | arm1hitbox.FormFactor="Custom" |
816 | - | b2.Size = Vector3.new(1,1,1) |
816 | + | arm1hitbox.Size=Vector3.new(5,5,5) |
817 | - | b2.Shape = "Ball" |
817 | + | arm1hitbox.Transparency=1 |
818 | - | bm2 = Instance.new("SpecialMesh",b1) |
818 | + | arm1hitbox.CanCollide=false |
819 | - | bm2.MeshType = "Sphere" |
819 | + | arm1hitbox.BrickColor = BrickColor.new("Pastel light blue") |
820 | - | wb2 = Instance.new("Weld",b2) |
820 | + | arm1hitbox.Material="Sand" |
821 | - | wb2.Part0 = b2 |
821 | + | arm1hitbox.TopSurface="Smooth" |
822 | - | wb2.Part1 = d1 |
822 | + | arm1hitbox.BottomSurface="Smooth" |
823 | - | wb2.C0 = CFrame.new(-0.4,0.8,0.3) |
823 | + | arm1hitbox.RightSurface="Smooth" |
824 | - | c1 = Instance.new("Part",model) |
824 | + | arm1hitbox.LeftSurface="Smooth" |
825 | - | c1.Name = "Tip" |
825 | + | arm1hitboxw=Instance.new("Weld",Character) |
826 | - | c1.BrickColor = BrickColor.new("Pink") |
826 | + | arm1hitboxw.Part0=arm1p6 |
827 | - | c1.TopSurface = 0 |
827 | + | arm1hitboxw.Part1=arm1hitbox |
828 | - | c1.BottomSurface = 0 |
828 | + | arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
829 | - | c1.formFactor = "Custom" |
829 | + | -------------------------------------------------------------- |
830 | - | c1.Size = Vector3.new(0.6,0.6,0.6) |
830 | + | Arm2 = Instance.new("Model",Character) |
831 | - | sm1 = Instance.new("SpecialMesh",c1) |
831 | + | Arm2.Name = "Arm 2" |
832 | - | wc1 = Instance.new("Weld",c1) |
832 | + | |
833 | - | wc1.Part0 = c1 |
833 | + | arm2p=Instance.new("Part",Character) |
834 | - | wc1.Part1 = d1 |
834 | + | arm2p.FormFactor="Custom" |
835 | - | wc1.C0 = CFrame.new(0,-2,0) |
835 | + | arm2p.Size=Vector3.new(.2000,.2000,.20000) |
836 | - | pcall(function() t3["D2"]:Destroy(); end) |
836 | + | arm2p.Transparency=0 |
837 | - | model2 = Instance.new("Model",t3) |
837 | + | arm2p.CanCollide=false |
838 | - | model2.Name = "D2" |
838 | + | arm2p.BrickColor = BrickColor.new("Pastel light blue") |
839 | - | d2 = Instance.new("Part",model2) |
839 | + | arm2p.Material="Sand" |
840 | - | d2.Name = "Main2" |
840 | + | arm2p.TopSurface="Smooth" |
841 | - | d2.formFactor = "Custom" |
841 | + | arm2p.BottomSurface="Smooth" |
842 | - | d2.TopSurface = 0 |
842 | + | arm2p.RightSurface="Smooth" |
843 | - | d2.BottomSurface = 0 |
843 | + | arm2p.LeftSurface="Smooth" |
844 | - | d2.BrickColor = d1.BrickColor |
844 | + | arm2pw=Instance.new("Weld",Character) |
845 | - | d2.Size = Vector3.new(0.4,1,0.4) |
845 | + | arm2pw.Part0=Character["Left Arm"] |
846 | - | cm2 = Instance.new("CylinderMesh",d2) |
846 | + | arm2pw.Part1=arm2p |
847 | - | wd2 = Instance.new("Weld",d2) |
847 | + | arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90)) |
848 | - | wd2.Part0 = d2 |
848 | + | |
849 | - | wd2.Part1 = t3.Parent.Head |
849 | + | arm2pmesh = Instance.new("SpecialMesh",arm2p) |
850 | - | wd2.C0 = CFrame.new(0,-1,2.5) *CFrame.Angles(math.rad(90),0,0) |
850 | + | arm2pmesh.MeshType = "Sphere" |
851 | - | b3 = Instance.new("Part",model2) |
851 | + | arm2pmesh.Scale = Vector3.new(40,20,40) |
852 | - | b3.Name = "B1" |
852 | + | |
853 | - | b3.BrickColor = d2.BrickColor |
853 | + | local particleemitter7 = Instance.new("ParticleEmitter", arm2p) |
854 | - | b3.TopSurface = 0 |
854 | + | particleemitter7.VelocitySpread = 180 |
855 | - | b3.BottomSurface = 0 |
855 | + | particleemitter7.Lifetime = NumberRange.new(1) |
856 | - | b3.formFactor = "Custom" |
856 | + | particleemitter7.Speed = NumberRange.new(10) |
857 | - | b3.Size = Vector3.new(0.5,0.5,0.5) |
857 | + | particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
858 | - | b3.Shape = "Ball" |
858 | + | particleemitter7.RotSpeed = NumberRange.new(-180, 180) |
859 | - | bm3 = Instance.new("SpecialMesh",b3) |
859 | + | particleemitter7.Rotation = NumberRange.new(-360, 360) |
860 | - | bm3.MeshType = "Sphere" |
860 | + | particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
861 | - | bm3.Scale = Vector3.new(0.5,0.5,0.5) |
861 | + | particleemitter7.LightEmission = 1 |
862 | - | wb3 = Instance.new("Weld",b3) |
862 | + | particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786" |
863 | - | wb3.Part0 = b3 |
863 | + | particleemitter7.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
864 | - | wb3.Part1 = d2 |
864 | + | particleemitter7.Enabled = false |
865 | - | wb3.C0 = CFrame.new(0.3,0.4,0) |
865 | + | |
866 | - | b4 = Instance.new("Part",model2) |
866 | + | arm2p2=Instance.new("Part",Character) |
867 | - | b4.Name = "B2" |
867 | + | arm2p2.FormFactor="Custom" |
868 | - | b4.BrickColor = d2.BrickColor |
868 | + | arm2p2.Size=Vector3.new(.2000,.2000,.2000) |
869 | - | b4.TopSurface = 0 |
869 | + | arm2p2.Transparency=0 |
870 | - | b4.BottomSurface = 0 |
870 | + | arm2p2.CanCollide=false |
871 | - | b4.formFactor = "Custom" |
871 | + | arm2p2.BrickColor = BrickColor.new("Pastel light blue") |
872 | - | b4.Size = Vector3.new(0.5,0.5,0.5) |
872 | + | arm2p2.Material="Sand" |
873 | - | b4.Shape = "Ball" |
873 | + | arm2p2.TopSurface="Smooth" |
874 | - | bm4 = Instance.new("SpecialMesh",b4) |
874 | + | arm2p2.BottomSurface="Smooth" |
875 | - | bm4.MeshType = "Sphere" |
875 | + | arm2p2.RightSurface="Smooth" |
876 | - | bm4.Scale = Vector3.new(0.5,0.5,0.5) |
876 | + | arm2p2.LeftSurface="Smooth" |
877 | - | wb4 = Instance.new("Weld",b4) |
877 | + | arm2p2w=Instance.new("Weld",Character) |
878 | - | wb4.Part0 = b4 |
878 | + | arm2p2w.Part0=arm2p |
879 | - | wb4.Part1 = d2 |
879 | + | arm2p2w.Part1=arm2p2 |
880 | - | wb4.C0 = CFrame.new(-0.3,0.4,0) |
880 | + | arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90)) |
881 | - | c2 = Instance.new("Part",model2) |
881 | + | |
882 | - | c2.Name = "Tip" |
882 | + | arm2p2mesh = Instance.new("SpecialMesh",arm2p2) |
883 | - | c2.BrickColor = BrickColor.new("Pink") |
883 | + | arm2p2mesh.MeshType = "Cylinder" |
884 | - | c2.TopSurface = 0 |
884 | + | arm2p2mesh.Scale = Vector3.new(30,20,30) |
885 | - | c2.BottomSurface = 0 |
885 | + | |
886 | - | c2.formFactor = "Custom" |
886 | + | local particleemitter8 = Instance.new("ParticleEmitter", arm2p2) |
887 | - | c2.Size = Vector3.new(0.389,0.389,0.389) |
887 | + | particleemitter8.VelocitySpread = 180 |
888 | - | sm1 = Instance.new("SpecialMesh",c2) |
888 | + | particleemitter8.Lifetime = NumberRange.new(1) |
889 | - | wc2 = Instance.new("Weld",c2) |
889 | + | particleemitter8.Speed = NumberRange.new(10) |
890 | - | wc2.Part0 = c2 |
890 | + | particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
891 | - | wc2.Part1 = d2 |
891 | + | particleemitter8.RotSpeed = NumberRange.new(-180, 180) |
892 | - | wc2.C0 = CFrame.new(0,-0.5,0) |
892 | + | particleemitter8.Rotation = NumberRange.new(-360, 360) |
893 | - | for i,v in pairs(t1:children()) do |
893 | + | particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
894 | - | if v.className == "Weld" then v:Destroy(); end |
894 | + | particleemitter8.LightEmission = 1 |
895 | - | end |
895 | + | particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786" |
896 | - | for i,v in pairs(t2:children()) do |
896 | + | particleemitter8.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
897 | - | if v.className == "Weld" then v:Destroy(); end |
897 | + | particleemitter8.Enabled = false |
898 | - | end |
898 | + | |
899 | - | for i,v in pairs(t3:children()) do |
899 | + | arm2p3=Instance.new("Part",Character) |
900 | - | if v.className == "Weld" then v:Destroy(); end |
900 | + | arm2p3.FormFactor="Custom" |
901 | - | end |
901 | + | arm2p3.Size=Vector3.new(.20000,.2000,.20000) |
902 | arm2p3.Transparency=0 | |
903 | - | ls1 = Instance.new("Weld",t1) |
903 | + | arm2p3.CanCollide=false |
904 | - | ls1.Part0 = t1.Parent["Left Arm"] |
904 | + | arm2p3.BrickColor = BrickColor.new("Pastel light blue") |
905 | - | ls1.Part1 = t1 |
905 | + | arm2p3.Material="Sand" |
906 | - | ls1.C0 = CFrame.new(1.2,1,0) *CFrame.Angles(math.rad(-75),0,math.rad(35)) |
906 | + | arm2p3.TopSurface="Smooth" |
907 | - | rs1 = Instance.new("Weld",t1) |
907 | + | arm2p3.BottomSurface="Smooth" |
908 | - | rs1.Part0 = t1.Parent["Right Arm"] |
908 | + | arm2p3.RightSurface="Smooth" |
909 | - | rs1.Part1 = t1 |
909 | + | arm2p3.LeftSurface="Smooth" |
910 | - | rs1.C0 = CFrame.new(-1.2,1,0) *CFrame.Angles(math.rad(-75),0,math.rad(-35)) |
910 | + | arm2p3w=Instance.new("Weld",Character) |
911 | - | lh1 = Instance.new("Weld",t1) |
911 | + | arm2p3w.Part0=arm2p2 |
912 | - | lh1.Part0 = t1.Parent["Left Leg"] |
912 | + | arm2p3w.Part1=arm2p3 |
913 | - | lh1.Part1 = t1 |
913 | + | arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
914 | - | lh1.C0 = CFrame.new(0.3,1.8,0.5) *CFrame.Angles(math.rad(45),math.rad(35),0) |
914 | + | |
915 | - | rh1 = Instance.new("Weld",t1) |
915 | + | arm2p3mesh = Instance.new("SpecialMesh",arm2p3) |
916 | - | rh1.Part0 = t1.Parent["Right Leg"] |
916 | + | arm2p3mesh.MeshType = "Sphere" |
917 | - | rh1.Part1 = t1 |
917 | + | arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5) |
918 | - | rh1.C0 = CFrame.new(-0.3,1.8,0.5) *CFrame.Angles(math.rad(45),math.rad(-35),0) |
918 | + | |
919 | - | ls2 = Instance.new("Weld",t2) |
919 | + | local particleemitter9 = Instance.new("ParticleEmitter", arm2p3) |
920 | - | ls2.Part0 = t2.Parent["Left Arm"] |
920 | + | particleemitter9.VelocitySpread = 180 |
921 | - | ls2.Part1 = t2 |
921 | + | particleemitter9.Lifetime = NumberRange.new(1) |
922 | - | ls2.C0 = CFrame.new(1.35,-1,0) |
922 | + | particleemitter9.Speed = NumberRange.new(10) |
923 | - | rs2 = Instance.new("Weld",t2) |
923 | + | particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
924 | - | rs2.Part0 = t2.Parent["Right Arm"] |
924 | + | particleemitter9.RotSpeed = NumberRange.new(-180, 180) |
925 | - | rs2.Part1 = t2 |
925 | + | particleemitter9.Rotation = NumberRange.new(-360, 360) |
926 | - | rs2.C0 = CFrame.new(-1.35,-1,0) |
926 | + | particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
927 | - | lh2 = Instance.new("Weld",t2) |
927 | + | particleemitter9.LightEmission = 1 |
928 | - | lh2.Part0 = t2.Parent["Left Leg"] |
928 | + | particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786" |
929 | - | lh2.Part1 = t2 |
929 | + | particleemitter9.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
930 | - | lh2.C0 = CFrame.new(0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(15)) |
930 | + | particleemitter9.Enabled = false |
931 | - | rh2 = Instance.new("Weld",t2) |
931 | + | |
932 | - | rh2.Part0 = t2.Parent["Right Leg"] |
932 | + | arm2p4=Instance.new("Part",Character) |
933 | - | rh2.Part1 = t2 |
933 | + | arm2p4.FormFactor="Custom" |
934 | - | rh2.C0 = CFrame.new(-0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(-15)) |
934 | + | arm2p4.Size=Vector3.new(.20000,.2000,.2000) |
935 | - | ls3 = Instance.new("Weld",t3) |
935 | + | arm2p4.Transparency=0 |
936 | - | ls3.Part0 = t3.Parent["Left Arm"] |
936 | + | arm2p4.CanCollide=false |
937 | - | ls3.Part1 = t3 |
937 | + | arm2p4.BrickColor = BrickColor.new("Pastel light blue") |
938 | - | ls3.C0 = CFrame.new(1.5,0.4,0.3) *CFrame.Angles(math.rad(-68),math.rad(30),0) |
938 | + | arm2p4.Material="Sand" |
939 | - | rs3 = Instance.new("Weld",t3) |
939 | + | arm2p4.TopSurface="Smooth" |
940 | - | rs3.Part0 = t3.Parent["Right Arm"] |
940 | + | arm2p4.BottomSurface="Smooth" |
941 | - | rs3.Part1 = t3 |
941 | + | arm2p4.RightSurface="Smooth" |
942 | - | rs3.C0 = CFrame.new(-1.5,0.4,0.5) *CFrame.Angles(math.rad(-68),math.rad(-30),0) |
942 | + | arm2p4.LeftSurface="Smooth" |
943 | - | lh3 = Instance.new("Weld",t3) |
943 | + | arm2p4w=Instance.new("Weld",Character) |
944 | - | lh3.Part0 = t3.Parent["Left Leg"] |
944 | + | arm2p4w.Part0=arm2p3 |
945 | - | lh3.Part1 = t3 |
945 | + | arm2p4w.Part1=arm2p4 |
946 | - | lh3.C0 = CFrame.new(0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(15)) |
946 | + | arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45)) |
947 | - | rh3 = Instance.new("Weld",t3) |
947 | + | |
948 | - | rh3.Part0 = t3.Parent["Right Leg"] |
948 | + | arm2p4mesh = Instance.new("SpecialMesh",arm2p4) |
949 | - | rh3.Part1 = t3 |
949 | + | arm2p4mesh.MeshType = "Cylinder" |
950 | - | rh3.C0 = CFrame.new(-0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(-15)) |
950 | + | arm2p4mesh.Scale = Vector3.new(30,20,30) |
951 | ||
952 | - | wp12 = Instance.new("Weld",t1) |
952 | + | local particleemitter10 = Instance.new("ParticleEmitter", arm2p4) |
953 | - | wp12.Part0 = t1 |
953 | + | particleemitter10.VelocitySpread = 180 |
954 | - | wp12.Part1 = t2 |
954 | + | particleemitter10.Lifetime = NumberRange.new(1) |
955 | - | wp12.C0 = CFrame.new(0,-1,-4) |
955 | + | particleemitter10.Speed = NumberRange.new(10) |
956 | - | wp12.C1 = CFrame.Angles(math.rad(90),0,0) |
956 | + | particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
957 | particleemitter10.RotSpeed = NumberRange.new(-180, 180) | |
958 | - | wp23 = Instance.new("Weld",t2) |
958 | + | particleemitter10.Rotation = NumberRange.new(-360, 360) |
959 | - | wp23.Part0 = t2 |
959 | + | particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
960 | - | wp23.Part1 = t3 |
960 | + | particleemitter10.LightEmission = 1 |
961 | - | wp23.C0 = CFrame.new(0,3,-1) |
961 | + | particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786" |
962 | - | wp23.C1 = CFrame.Angles(math.rad(40),math.rad(180),0) |
962 | + | particleemitter10.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
963 | particleemitter10.Enabled = false | |
964 | ||
965 | - | while wait() do |
965 | + | arm2p5=Instance.new("Part",Character) |
966 | - | wait(0.05) |
966 | + | arm2p5.FormFactor="Custom" |
967 | - | for i=-4,-5,-0.1 do |
967 | + | arm2p5.Size=Vector3.new(.2000,.2000,.20000) |
968 | - | wp12.C0 = CFrame.new(0,-1,i) |
968 | + | arm2p5.Transparency=0 |
969 | - | wait(0.005) |
969 | + | arm2p5.CanCollide=false |
970 | - | end |
970 | + | arm2p5.BrickColor = BrickColor.new("Pastel light blue") |
971 | - | wb3.C0 = CFrame.new(0.3,0,0) |
971 | + | arm2p5.Material="Sand" |
972 | - | wb4.C0 = CFrame.new(-0.3,0,0) |
972 | + | arm2p5.TopSurface="Smooth" |
973 | - | wait(0.05) |
973 | + | arm2p5.BottomSurface="Smooth" |
974 | - | for i=-5,-4,0.1 do |
974 | + | arm2p5.RightSurface="Smooth" |
975 | - | wp12.C0 = CFrame.new(0,-1,i) |
975 | + | arm2p5.LeftSurface="Smooth" |
976 | - | wait(0.005) |
976 | + | arm2p5w=Instance.new("Weld",Character) |
977 | - | end |
977 | + | arm2p5w.Part0=arm2p4 |
978 | - | wb3.C0 = CFrame.new(0.3,0.4,0) |
978 | + | arm2p5w.Part1=arm2p5 |
979 | - | wb4.C0 = CFrame.new(-0.3,0.4,0) |
979 | + | arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
980 | - | end end)) |
980 | + | |
981 | arm2p5mesh = Instance.new("SpecialMesh",arm2p5) | |
982 | arm2p5mesh.MeshType = "Sphere" | |
983 | arm2p5mesh.Scale = Vector3.new(30,30,30) | |
984 | ||
985 | - | function sdkclick() |
985 | + | local particleemitter11 = Instance.new("ParticleEmitter", arm2p5) |
986 | - | local user=usertest.Text |
986 | + | particleemitter11.VelocitySpread = 180 |
987 | - | for i,v in pairs(SearchPlayer(user)) do |
987 | + | particleemitter11.Lifetime = NumberRange.new(1) |
988 | - | person=v.Name |
988 | + | particleemitter11.Speed = NumberRange.new(10) |
989 | - | color = "Pastel brown" |
989 | + | particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)}) |
990 | - | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) |
990 | + | particleemitter11.RotSpeed = NumberRange.new(-180, 180) |
991 | - | D = Instance.new("Model",workspace[person]) |
991 | + | particleemitter11.Rotation = NumberRange.new(-360, 360) |
992 | - | D.Name = "Nice thing" |
992 | + | particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) |
993 | - | bg = Instance.new("BodyGyro",workspace[person].Torso) |
993 | + | particleemitter11.LightEmission = 1 |
994 | - | d = Instance.new("Part") |
994 | + | particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786" |
995 | - | d.TopSurface = 0 |
995 | + | particleemitter11.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1)) |
996 | - | d.BottomSurface = 0 |
996 | + | particleemitter11.Enabled = false |
997 | - | d.Name = "Main" |
997 | + | |
998 | - | d.Parent = workspace[person]["Nice thing"] |
998 | + | arm2p6=Instance.new("Part",Character) |
999 | - | d.formFactor = 3 |
999 | + | arm2p6.FormFactor="Custom" |
1000 | - | d.Size = Vector3.new(0.6,1,0.6) |
1000 | + | arm2p6.Size=Vector3.new(.2000,.2000,.200) |
1001 | - | d.BrickColor = BrickColor.new(color) |
1001 | + | arm2p6.Transparency=0 |
1002 | - | d.Position = workspace[person].Head.Position |
1002 | + | arm2p6.CanCollide=false |
1003 | - | d.CanCollide = true |
1003 | + | arm2p6.BrickColor = BrickColor.new("Pastel light blue") |
1004 | - | local cy = Instance.new("CylinderMesh") |
1004 | + | arm2p6.Material="Sand" |
1005 | - | cy.Parent = d |
1005 | + | arm2p6.TopSurface="Smooth" |
1006 | - | cy.Scale = Vector3.new(1.1,2,1.1) |
1006 | + | arm2p6.BottomSurface="Smooth" |
1007 | - | w = Instance.new("Weld") |
1007 | + | arm2p6.RightSurface="Smooth" |
1008 | - | w.Parent = workspace[person].Head |
1008 | + | arm2p6.LeftSurface="Smooth" |
1009 | - | w.Part0 = d |
1009 | + | arm2p6w=Instance.new("Weld",Character) |
1010 | - | w.Part1 = workspace[person].Head |
1010 | + | arm2p6w.Part0=arm2p5 |
1011 | - | w.C0 = CFrame.new(0,-1,2.35)*CFrame.Angles(math.rad(90),0,0) |
1011 | + | arm2p6w.Part1=arm2p6 |
1012 | - | local c = Instance.new("Part") |
1012 | + | arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90)) |
1013 | - | c.Name = "Mush" |
1013 | + | |
1014 | - | c.BottomSurface = 0 |
1014 | + | arm2p6mesh = Instance.new("FileMesh",arm2p6) |
1015 | - | c.TopSurface = 0 |
1015 | + | arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" |
1016 | - | c.FormFactor = 3 |
1016 | + | arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15) |
1017 | - | c.Size = Vector3.new(0.6,0.6,0.6) |
1017 | + | |
1018 | - | c.CFrame = CFrame.new(d.Position) |
1018 | + | arm2p7=Instance.new("Part",Character) |
1019 | - | c.BrickColor = BrickColor.new("Pink") |
1019 | + | arm2p7.FormFactor="Custom" |
1020 | - | c.CanCollide = true |
1020 | + | arm2p7.Size=Vector3.new(.2000,.2000,.2000) |
1021 | - | c.Parent = workspace[person]["Nice thing"] |
1021 | + | arm2p7.Transparency=0 |
1022 | - | local msm = Instance.new("SpecialMesh") |
1022 | + | arm2p7.CanCollide=false |
1023 | - | msm.Parent = c |
1023 | + | arm2p7.BrickColor = BrickColor.new("Pastel light blue") |
1024 | - | msm.MeshType = "Head" |
1024 | + | arm2p7.Material="Sand" |
1025 | - | msm.Scale = Vector3.new(0.99,0.99,0.99) |
1025 | + | arm2p7.TopSurface="Smooth" |
1026 | - | local cw = Instance.new("Weld") |
1026 | + | arm2p7.BottomSurface="Smooth" |
1027 | - | cw.Parent = c |
1027 | + | arm2p7.RightSurface="Smooth" |
1028 | - | cw.Part0 = d |
1028 | + | arm2p7.LeftSurface="Smooth" |
1029 | - | cw.Part1 = c |
1029 | + | arm2p7w=Instance.new("Weld",Character) |
1030 | - | cw.C0 = CFrame.new(0,1,0) |
1030 | + | arm2p7w.Part0=arm2p |
1031 | - | local ball1 = Instance.new("Part") |
1031 | + | arm2p7w.Part1=arm2p7 |
1032 | - | ball1.Parent = workspace[person]["Nice thing"] |
1032 | + | arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0)) |
1033 | - | ball1.Name = "Left Ball" |
1033 | + | |
1034 | - | ball1.BottomSurface = 0 |
1034 | + | arm2p7mesh = Instance.new("FileMesh",arm2p7) |
1035 | - | ball1.TopSurface = 0 |
1035 | + | arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" |
1036 | - | ball1.CanCollide = true |
1036 | + | arm2p7mesh.Scale = Vector3.new(5,10,5) |
1037 | - | ball1.formFactor = 3 |
1037 | + | |
1038 | - | ball1.Size = Vector3.new(1,1,1) |
1038 | + | arm2hitbox=Instance.new("Part",Character) |
1039 | - | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) |
1039 | + | arm2hitbox.FormFactor="Custom" |
1040 | - | ball1.BrickColor = BrickColor.new(color) |
1040 | + | arm2hitbox.Size=Vector3.new(5,5,5) |
1041 | - | local bsm = Instance.new("SpecialMesh") |
1041 | + | arm2hitbox.Transparency=1 |
1042 | - | bsm.Parent = ball1 |
1042 | + | arm2hitbox.CanCollide=false |
1043 | - | bsm.MeshType = "Sphere" |
1043 | + | arm2hitbox.BrickColor = BrickColor.new("Pastel light blue") |
1044 | - | bsm.Scale = Vector3.new(0.8,0.8,0.8) |
1044 | + | arm2hitbox.Material="Sand" |
1045 | - | local b1w = Instance.new("Weld") |
1045 | + | arm2hitbox.TopSurface="Smooth" |
1046 | - | b1w.Parent = ball1 |
1046 | + | arm2hitbox.BottomSurface="Smooth" |
1047 | - | b1w.Part0 = workspace[person]["Left Leg"] |
1047 | + | arm2hitbox.RightSurface="Smooth" |
1048 | - | b1w.Part1 = ball1 |
1048 | + | arm2hitbox.LeftSurface="Smooth" |
1049 | - | b1w.C0 = CFrame.new(0.75,1,-0.6) |
1049 | + | arm2hitboxw=Instance.new("Weld",Character) |
1050 | - | local ball2 = Instance.new("Part") |
1050 | + | arm2hitboxw.Part0=arm2p6 |
1051 | - | ball2.Parent = workspace[person]["Nice thing"] |
1051 | + | arm2hitboxw.Part1=arm2hitbox |
1052 | - | ball2.Name = "Right Ball" |
1052 | + | arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
1053 | - | ball2.BottomSurface = 0 |
1053 | + | -------------------------------------------------------------- |
1054 | - | ball2.CanCollide = true |
1054 | + | |
1055 | - | ball2.TopSurface = 0 |
1055 | + | local function weldBetween(a, b) |
1056 | - | ball2.formFactor = 3 |
1056 | + | local weldd = Instance.new("ManualWeld") |
1057 | - | ball2.Size = Vector3.new(1,1,1) |
1057 | + | weldd.Part0 = a |
1058 | - | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) |
1058 | + | weldd.Part1 = b |
1059 | - | ball2.BrickColor = BrickColor.new(color) |
1059 | + | weldd.C0 = CFrame.new() |
1060 | - | local b2sm = Instance.new("SpecialMesh") |
1060 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
1061 | - | b2sm.Parent = ball2 |
1061 | + | weldd.Parent = a |
1062 | - | b2sm.MeshType = "Sphere" |
1062 | + | return weldd |
1063 | - | b2sm.Scale = Vector3.new(0.8,0.8,0.8) |
1063 | + | end |
1064 | - | local b2w = Instance.new("Weld") |
1064 | + | |
1065 | - | b2w.Parent = ball2 |
1065 | + | function swait(num) |
1066 | - | b2w.Part0 = workspace[person]["Right Leg"] |
1066 | + | if num==0 or num==nil then |
1067 | - | b2w.Part1 = ball2 |
1067 | + | game:service'RunService'.Stepped:wait(0) |
1068 | - | b2w.C0 = CFrame.new(-0.75,1,-0.6) |
1068 | + | else |
1069 | - | local me = v |
1069 | + | for i=0,num do |
1070 | - | local c = me.Character |
1070 | + | game:service'RunService'.Stepped:wait(0) |
1071 | - | rs = c.Torso["Right Shoulder"] |
1071 | + | |
1072 | - | ls = c.Torso["Left Shoulder"] |
1072 | + | |
1073 | - | t = c.Torso |
1073 | + | end |
1074 | - | lh = t["Left Hip"] |
1074 | + | |
1075 | - | rh = t["Right Hip"] |
1075 | + | function nooutline(part) |
1076 | - | n = t.Neck |
1076 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
1077 | - | anim = c.Animate |
1077 | + | end |
1078 | - | if (anim ~= nil) or (anim) then |
1078 | + | |
1079 | - | anim.Disabled = true |
1079 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
1080 | local fp=it("Part") | |
1081 | - | local cfa = CFrame.Angles |
1081 | + | fp.formFactor=formfactor |
1082 | - | ls:SetDesiredAngle(0) |
1082 | + | fp.Parent=parent |
1083 | - | rs:SetDesiredAngle(0) |
1083 | + | fp.Reflectance=reflectance |
1084 | - | lh:SetDesiredAngle(0) |
1084 | + | fp.Transparency=transparency |
1085 | - | rh:SetDesiredAngle(0) |
1085 | + | fp.CanCollide=false |
1086 | - | n:SetDesiredAngle(0) |
1086 | + | fp.Locked=true |
1087 | - | for i=1,10 do |
1087 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
1088 | - | ls.C0 = ls.C0 * cfa(0,math.rad(-1),math.rad(-2)) |
1088 | + | fp.Name=name |
1089 | - | rs.C0 = rs.C0 * cfa(0,math.rad(1),math.rad(2)) |
1089 | + | fp.Size=size |
1090 | fp.Position=Character.Torso.Position | |
1091 | nooutline(fp) | |
1092 | fp.Material=material | |
1093 | - | function mdkclick() |
1093 | + | fp:BreakJoints() |
1094 | - | local user=usertest.Text |
1094 | + | return fp |
1095 | - | for i,v in pairs(SearchPlayer(user)) do |
1095 | + | end |
1096 | - | t1 = v.Character.Torso |
1096 | + | |
1097 | - | local mdl = Instance.new("Model",t1) |
1097 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
1098 | - | mdl.Name = "MiniDK" |
1098 | + | local mesh=it(Mesh) |
1099 | - | local d = Instance.new("Part") |
1099 | + | mesh.Parent=part |
1100 | - | d.TopSurface = 0 |
1100 | + | if Mesh=="SpecialMesh" then |
1101 | - | d.BottomSurface = 0 |
1101 | + | mesh.MeshType=meshtype |
1102 | - | d.CanCollide = true |
1102 | + | mesh.MeshId=meshid |
1103 | - | d.BrickColor = BrickColor.new("Pastel brown") |
1103 | + | end |
1104 | - | d.Shape = "Ball" |
1104 | + | mesh.Offset=offset |
1105 | - | d.Parent = mdl |
1105 | + | mesh.Scale=scale |
1106 | - | d.Size = Vector3.new(1,1,1) |
1106 | + | return mesh |
1107 | - | local dm = Instance.new("SpecialMesh") |
1107 | + | end |
1108 | - | dm.MeshType = "Sphere" |
1108 | + | |
1109 | - | dm.Parent = d |
1109 | + | function weld(parent,part0,part1,c0,c1) |
1110 | - | dm.Scale = Vector3.new(0.4,0.4,0.4) |
1110 | + | local weld=it("Weld") |
1111 | - | fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0) |
1111 | + | weld.Parent=parent |
1112 | - | d2 = d:Clone() |
1112 | + | weld.Part0=part0 |
1113 | - | d2.Parent = mdl |
1113 | + | weld.Part1=part1 |
1114 | - | fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0) |
1114 | + | weld.C0=c0 |
1115 | - | local c = Instance.new("Part") |
1115 | + | weld.C1=c1 |
1116 | - | c.TopSurface = 0 c.BottomSurface = 0 |
1116 | + | return weld |
1117 | - | c.CanCollide = true |
1117 | + | end |
1118 | - | c.BrickColor = BrickColor.new("Pastel brown") |
1118 | + | |
1119 | - | c.Parent = mdl |
1119 | + | |
1120 | - | c.formFactor = "Custom" |
1120 | + | local function CFrameFromTopBack(at, top, back) |
1121 | - | c.Size = Vector3.new(0.4,1.3,0.4) |
1121 | + | local right = top:Cross(back) |
1122 | - | cm = Instance.new("CylinderMesh") |
1122 | + | return CFrame.new(at.x, at.y, at.z, |
1123 | - | cm.Parent = c |
1123 | + | right.x, top.x, back.x, |
1124 | - | a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0) |
1124 | + | right.y, top.y, back.y, |
1125 | - | c2 = d:Clone() |
1125 | + | right.z, top.z, back.z) |
1126 | - | c2.BrickColor = BrickColor.new("Pink") |
1126 | + | |
1127 | - | c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4) |
1127 | + | |
1128 | - | c2.Parent = mdl |
1128 | + | function Triangle(a, b, c) |
1129 | - | fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0) |
1129 | + | local edg1 = (c-a):Dot((b-a).unit) |
1130 | - | local d = Instance.new("Part") |
1130 | + | local edg2 = (a-b):Dot((c-b).unit) |
1131 | - | d.TopSurface = 0 |
1131 | + | local edg3 = (b-c):Dot((a-c).unit) |
1132 | - | d.BottomSurface = 0 |
1132 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
1133 | - | d.CanCollide = true |
1133 | + | a, b, c = a, b, c |
1134 | - | d.BrickColor = BrickColor.new("Pastel brown") |
1134 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
1135 | - | d.Shape = "Ball" d.Parent = mdl |
1135 | + | a, b, c = b, c, a |
1136 | - | d.Size = Vector3.new(1,1,1) |
1136 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
1137 | - | local dm = Instance.new("SpecialMesh") |
1137 | + | a, b, c = c, a, b |
1138 | - | dm.MeshType = "Sphere" |
1138 | + | |
1139 | - | dm.Parent = d |
1139 | + | assert(false, "unreachable") |
1140 | - | dm.Scale = Vector3.new(0.4,0.4,0.4) |
1140 | + | |
1141 | - | fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0) |
1141 | + | |
1142 | - | d2 = d:Clone() |
1142 | + | local len1 = (c-a):Dot((b-a).unit) |
1143 | - | d2.Parent = mdl |
1143 | + | local len2 = (b-a).magnitude - len1 |
1144 | - | fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0) |
1144 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
1145 | - | local c = Instance.new("Part") |
1145 | + | |
1146 | - | c.TopSurface = 0 c.BottomSurface = 0 |
1146 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
1147 | - | c.CanCollide = true |
1147 | + | |
1148 | - | c.BrickColor = BrickColor.new("Pastel brown") |
1148 | + | local list = {} |
1149 | - | c.Parent = mdl |
1149 | + | |
1150 | - | c.formFactor = "Custom" |
1150 | + | local TrailColor = ("Dark grey") |
1151 | - | c.Size = Vector3.new(0.4,1.3,0.4) |
1151 | + | |
1152 | - | cm = Instance.new("CylinderMesh") |
1152 | + | if len1 > 0.01 then |
1153 | - | cm.Parent = c |
1153 | + | local w1 = Instance.new('WedgePart', m) |
1154 | - | a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0) |
1154 | + | game:GetService("Debris"):AddItem(w1,5) |
1155 | - | c2 = d:Clone() |
1155 | + | w1.Material = "SmoothPlastic" |
1156 | - | c2.BrickColor = BrickColor.new("Pink") |
1156 | + | w1.FormFactor = 'Custom' |
1157 | - | c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4) |
1157 | + | w1.BrickColor = BrickColor.new(TrailColor) |
1158 | - | c2.Parent = mdl |
1158 | + | w1.Transparency = 0 |
1159 | - | c2.Name = "Mush" |
1159 | + | w1.Reflectance = 0 |
1160 | - | fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0) |
1160 | + | w1.Material = "SmoothPlastic" |
1161 | w1.CanCollide = false | |
1162 | NoOutline(w1) | |
1163 | - | function kickclick() |
1163 | + | local sz = Vector3.new(0.2, width, len1) |
1164 | - | local user=usertest.Text |
1164 | + | w1.Size = sz |
1165 | - | for i,v in pairs(SearchPlayer(user)) do |
1165 | + | local sp = Instance.new("SpecialMesh",w1) |
1166 | - | if v ~= playa then |
1166 | + | sp.MeshType = "Wedge" |
1167 | - | v:Remove() |
1167 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
1168 | w1:BreakJoints() | |
1169 | w1.Anchored = true | |
1170 | w1.Parent = workspace | |
1171 | - | function banclick() |
1171 | + | w1.Transparency = 0.7 |
1172 | - | local user=usertest.Text |
1172 | + | table.insert(Effects,{w1,"Disappear",.01}) |
1173 | - | for i,v in pairs(SearchPlayer(user)) do |
1173 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
1174 | - | if v ~= playa then |
1174 | + | table.insert(list,w1) |
1175 | - | v:Remove() |
1175 | + | |
1176 | - | table.insert(banlist,v) |
1176 | + | |
1177 | if len2 > 0.01 then | |
1178 | local w2 = Instance.new('WedgePart', m) | |
1179 | game:GetService("Debris"):AddItem(w2,5) | |
1180 | - | function hdkclick() |
1180 | + | w2.Material = "SmoothPlastic" |
1181 | - | local user=usertest.Text |
1181 | + | w2.FormFactor = 'Custom' |
1182 | - | for i,v in pairs(SearchPlayer(user)) do |
1182 | + | w2.BrickColor = BrickColor.new(TrailColor) |
1183 | - | person=v.Name |
1183 | + | w2.Transparency = 0 |
1184 | - | color = "Pastel brown" |
1184 | + | w2.Reflectance = 0 |
1185 | - | pcall(function() v.Character["Nice thing"]:Remove() end) |
1185 | + | w2.Material = "SmoothPlastic" |
1186 | - | D = Instance.new("Model",workspace[person]) |
1186 | + | w2.CanCollide = false |
1187 | - | D.Name = "Nice thing" |
1187 | + | NoOutline(w2) |
1188 | - | bg = Instance.new("BodyGyro",workspace[person].Torso) |
1188 | + | local sz = Vector3.new(0.2, width, len2) |
1189 | - | d = Instance.new("Part") |
1189 | + | w2.Size = sz |
1190 | - | d.TopSurface = 0 |
1190 | + | local sp = Instance.new("SpecialMesh",w2) |
1191 | - | d.BottomSurface = 0 |
1191 | + | sp.MeshType = "Wedge" |
1192 | - | d.Name = "Main" |
1192 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
1193 | - | d.Parent = workspace[person]["Nice thing"] |
1193 | + | w2:BreakJoints() |
1194 | - | d.formFactor = 3 |
1194 | + | w2.Anchored = true |
1195 | - | d.Size = Vector3.new(2,5,2) |
1195 | + | w2.Parent = workspace |
1196 | - | d.BrickColor = BrickColor.new(color) |
1196 | + | w2.Transparency = 0.7 |
1197 | - | d.Position = workspace[person].Head.Position |
1197 | + | table.insert(Effects,{w2,"Disappear",.01}) |
1198 | - | d.CanCollide = true |
1198 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
1199 | - | local cy = Instance.new("CylinderMesh") |
1199 | + | table.insert(list,w2) |
1200 | - | cy.Parent = d |
1200 | + | |
1201 | - | cy.Scale = Vector3.new(0.6,1,0.6) |
1201 | + | return unpack(list) |
1202 | - | w = Instance.new("Weld") |
1202 | + | |
1203 | - | w.Parent = workspace[person].Head |
1203 | + | |
1204 | - | w.Part0 = d |
1204 | + | |
1205 | - | w.Part1 = workspace[person].Head |
1205 | + | so = function(id,par,vol,pit) |
1206 | - | w.C0 = CFrame.new(0,-2.5,2.35)*CFrame.Angles(math.rad(90),0,0) |
1206 | + | |
1207 | - | local c = Instance.new("Part") |
1207 | + | local sou = Instance.new("Sound",par or workspace) |
1208 | - | c.Name = "Mush" |
1208 | + | sou.Volume=vol |
1209 | - | c.BottomSurface = 0 |
1209 | + | sou.Pitch=pit or 1 |
1210 | - | c.TopSurface = 0 |
1210 | + | sou.SoundId=id |
1211 | - | c.FormFactor = 3 |
1211 | + | swait() |
1212 | - | c.Size = Vector3.new(1,1,1) |
1212 | + | sou:play() |
1213 | - | c.CFrame = CFrame.new(d.Position) |
1213 | + | game:GetService("Debris"):AddItem(sou,6) |
1214 | - | c.BrickColor = BrickColor.new("Pink") |
1214 | + | |
1215 | - | c.CanCollide = true |
1215 | + | |
1216 | - | c.Parent = workspace[person]["Nice thing"] |
1216 | + | |
1217 | - | local msm = Instance.new("SpecialMesh") |
1217 | + | function clerp(a,b,t) |
1218 | - | msm.Parent = c |
1218 | + | local qa = {QuaternionFromCFrame(a)} |
1219 | - | msm.MeshType = "Head" |
1219 | + | local qb = {QuaternionFromCFrame(b)} |
1220 | - | msm.Scale = Vector3.new(1.199,1.199,1.199) |
1220 | + | local ax, ay, az = a.x, a.y, a.z |
1221 | - | local cw = Instance.new("Weld") |
1221 | + | local bx, by, bz = b.x, b.y, b.z |
1222 | - | cw.Parent = c |
1222 | + | local _t = 1-t |
1223 | - | cw.Part0 = d |
1223 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
1224 | - | cw.Part1 = c |
1224 | + | end |
1225 | - | cw.C0 = CFrame.new(0,2.5,0) |
1225 | + | |
1226 | - | local ball1 = Instance.new("Part") |
1226 | + | function QuaternionFromCFrame(cf) |
1227 | - | ball1.Parent = workspace[person]["Nice thing"] |
1227 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
1228 | - | ball1.Name = "Left Ball" |
1228 | + | local trace = m00 + m11 + m22 |
1229 | - | ball1.BottomSurface = 0 |
1229 | + | if trace > 0 then |
1230 | - | ball1.TopSurface = 0 |
1230 | + | local s = math.sqrt(1 + trace) |
1231 | - | ball1.CanCollide = true |
1231 | + | local recip = 0.5/s |
1232 | - | ball1.formFactor = 3 |
1232 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
1233 | - | ball1.Size = Vector3.new(2,2,2) |
1233 | + | else |
1234 | - | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) |
1234 | + | local i = 0 |
1235 | - | ball1.BrickColor = BrickColor.new(color) |
1235 | + | if m11 > m00 then |
1236 | - | local bsm = Instance.new("SpecialMesh") |
1236 | + | i = 1 |
1237 | - | bsm.Parent = ball1 |
1237 | + | |
1238 | - | bsm.MeshType = "Sphere" |
1238 | + | if m22 > (i == 0 and m00 or m11) then |
1239 | - | bsm.Scale = Vector3.new(0.8,0.8,0.8) |
1239 | + | i = 2 |
1240 | - | local b1w = Instance.new("Weld") |
1240 | + | end |
1241 | - | b1w.Parent = ball1 |
1241 | + | if i == 0 then |
1242 | - | b1w.Part0 = workspace[person]["Left Leg"] |
1242 | + | local s = math.sqrt(m00-m11-m22+1) |
1243 | - | b1w.Part1 = ball1 |
1243 | + | local recip = 0.5/s |
1244 | - | b1w.C0 = CFrame.new(1.2,0.5,-0.6) |
1244 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
1245 | - | local ball2 = Instance.new("Part") |
1245 | + | elseif i == 1 then |
1246 | - | ball2.Parent = workspace[person]["Nice thing"] |
1246 | + | local s = math.sqrt(m11-m22-m00+1) |
1247 | - | ball2.Name = "Right Ball" |
1247 | + | local recip = 0.5/s |
1248 | - | ball2.BottomSurface = 0 |
1248 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
1249 | - | ball2.CanCollide = true |
1249 | + | elseif i == 2 then |
1250 | - | ball2.TopSurface = 0 |
1250 | + | local s = math.sqrt(m22-m00-m11+1) |
1251 | - | ball2.formFactor = 3 |
1251 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
1252 | - | ball2.Size = Vector3.new(2,2,2) |
1252 | + | end |
1253 | - | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) |
1253 | + | end |
1254 | - | ball2.BrickColor = BrickColor.new(color) |
1254 | + | |
1255 | - | local b2sm = Instance.new("SpecialMesh") |
1255 | + | |
1256 | - | b2sm.Parent = ball2 |
1256 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
1257 | - | b2sm.MeshType = "Sphere" |
1257 | + | local xs, ys, zs = x + x, y + y, z + z |
1258 | - | b2sm.Scale = Vector3.new(0.8,0.8,0.8) |
1258 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
1259 | - | local b2w = Instance.new("Weld") |
1259 | + | local xx = x*xs |
1260 | - | b2w.Parent = ball2 |
1260 | + | local xy = x*ys |
1261 | - | b2w.Part0 = workspace[person]["Right Leg"] |
1261 | + | local xz = x*zs |
1262 | - | b2w.Part1 = ball2 |
1262 | + | local yy = y*ys |
1263 | - | b2w.C0 = CFrame.new(-1.2,0.5,-0.6) |
1263 | + | local yz = y*zs |
1264 | - | |
1264 | + | local zz = z*zs |
1265 | 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)) | |
1266 | end | |
1267 | - | function Status(player) |
1267 | + | |
1268 | - | for i,v in pairs(banlist) do |
1268 | + | function QuaternionSlerp(a, b, t) |
1269 | - | if game.Players[v.Name] == game.Players[player.Name] then |
1269 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
1270 | - | player:Remove() |
1270 | + | local startInterp, finishInterp; |
1271 | if cosTheta >= 0.0001 then | |
1272 | if (1 - cosTheta) > 0.0001 then | |
1273 | local theta = math.acos(cosTheta) | |
1274 | - | on = true |
1274 | + | local invSinTheta = 1/math.sin(theta) |
1275 | - | yes = true |
1275 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
1276 | - | local Anchored = true |
1276 | + | finishInterp = math.sin(t*theta)*invSinTheta |
1277 | - | local Base = Instance.new("Part") |
1277 | + | else |
1278 | - | Base.Name = "Trunk" |
1278 | + | startInterp = 1-t |
1279 | - | Base.formFactor = "Custom" |
1279 | + | finishInterp = t |
1280 | - | Base.TopSurface = 0 |
1280 | + | end |
1281 | - | Base.BottomSurface = 0 |
1281 | + | else |
1282 | - | Base.Anchored = true |
1282 | + | if (1+cosTheta) > 0.0001 then |
1283 | - | Base.BrickColor = BrickColor.new("Pastel brown") |
1283 | + | local theta = math.acos(-cosTheta) |
1284 | - | local Leaves = Base:Clone() |
1284 | + | local invSinTheta = 1/math.sin(theta) |
1285 | - | Leaves.Name = "Leaves" |
1285 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
1286 | - | Leaves.CanCollide = true |
1286 | + | finishInterp = math.sin(t*theta)*invSinTheta |
1287 | - | Leaves.BrickColor = BrickColor.new("Pink") |
1287 | + | else |
1288 | - | local leafmesh = Instance.new("SpecialMesh") |
1288 | + | startInterp = t-1 |
1289 | - | --[[leafmesh.MeshType = "FileMesh" |
1289 | + | finishInterp = t |
1290 | - | leafmesh.MeshId = "http://www.roblox.com/asset/?id=1290033" |
1290 | + | end |
1291 | - | leafmesh.TextureId = "http://www.roblox.com/asset/?id=2861779" ]]-- |
1291 | + | end |
1292 | - | leafmesh.Parent = Leaves |
1292 | + | 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 |
1293 | - | leafmesh.Scale = Vector3.new(0.5, 0.5, 0.5) |
1293 | + | |
1294 | - | local basemesh = Instance.new("CylinderMesh",Base) |
1294 | + | |
1295 | - | local function Weld(x,y) |
1295 | + | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) |
1296 | - | local weld = Instance.new("Weld") |
1296 | + | |
1297 | - | weld.Part0 = x |
1297 | + | |
1298 | - | weld.Part1 = y |
1298 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
1299 | - | local CJ = CFrame.new(x.Position) |
1299 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1300 | - | weld.C0 = x.CFrame:inverse() * CJ |
1300 | + | end |
1301 | - | weld.C1 = y.CFrame:inverse() * CJ |
1301 | + | |
1302 | - | weld.Parent = x |
1302 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
1303 | if hit.Parent==nil then | |
1304 | - | -- get dot product of yz angles |
1304 | + | return |
1305 | - | local function dot(c1,c2) |
1305 | + | |
1306 | - | local m = CFrame.Angles(math.pi/2,0,0) |
1306 | + | h=hit.Parent:FindFirstChild("Humanoid") |
1307 | - | return (c1*m).lookVector:Dot((c2*m).lookVector) |
1307 | + | for _,v in pairs(hit.Parent:children()) do |
1308 | if v:IsA("Humanoid") then | |
1309 | - | -- multiplier for various sizes of foliage |
1309 | + | h=v |
1310 | - | local leaf_mult = { |
1310 | + | |
1311 | - | Vector3.new(1.5,1.5,1.2); |
1311 | + | |
1312 | - | Vector3.new(1.5,1,1.5); |
1312 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then |
1313 | - | Vector3.new(1.2,1.5,1.5); |
1313 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid") |
1314 | - | Vector3.new(1.5,1.5,1.5); |
1314 | + | |
1315 | - | } |
1315 | + | if hit.Parent.className=="Hat" then |
1316 | - | local function Branch(base,c) |
1316 | + | hit=hit.Parent.Parent:findFirstChild("Head") |
1317 | - | if c <= 0 then |
1317 | + | |
1318 | - | -- if the complexity has run out, generate some foliage |
1318 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then |
1319 | - | local leaves = Leaves:Clone() |
1319 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end |
1320 | - | local vol = base.Size.x+base.Size.y+base.Size.z -- determine size based on branch size |
1320 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
1321 | - | leaves.Mesh.Scale = leaf_mult[math.random(1,#leaf_mult)]*math.random(2,4)/2 |
1321 | + | return |
1322 | - | leaves.Size = leaves.Mesh.Scale*0.50 |
1322 | + | end]] |
1323 | - | leaves.CFrame = base.CFrame * CFrame.new(0,base.Size.y/2,0) -- center foliage at top of branch |
1323 | + | -- hs(hit,1.2) |
1324 | - | leaves.Parent = base.Parent |
1324 | + | c=Instance.new("ObjectValue") |
1325 | - | if not Anchored then |
1325 | + | c.Name="creator" |
1326 | - | Weld(leaves,base) |
1326 | + | c.Value=owner |
1327 | - | leaves.Anchored = false |
1327 | + | c.Parent=h |
1328 | game:GetService("Debris"):AddItem(c,.5) | |
1329 | - | else |
1329 | + | Damage=math.random(minim,maxim) |
1330 | - | -- otherwise, make some more branches |
1330 | + | -- h:TakeDamage(Damage) |
1331 | - | local pos = base.CFrame*CFrame.new(0,base.Size/2,0) |
1331 | + | blocked=false |
1332 | - | local height = base.Size.y |
1332 | + | block=hit.Parent:findFirstChild("Block") |
1333 | - | local width = base.Size.x |
1333 | + | if block~=nil then |
1334 | - | local nb = math.random(2,2) -- # of possible branches (2 seems to work fine for now) |
1334 | + | print(block.className) |
1335 | - | local r = math.random(45,135) -- rotation of branches on y axis |
1335 | + | if block.className=="NumberValue" then |
1336 | - | -- branch split angle difference |
1336 | + | if block.Value>0 then |
1337 | - | -- the less complexity, the greater the possible angle |
1337 | + | blocked=true |
1338 | - | -- minimum: 20-75; maximum: 40-80 |
1338 | + | if decreaseblock==nil then |
1339 | - | local da = math.random(20+55/c,40+40/c) |
1339 | + | block.Value=block.Value-1 |
1340 | - | -- branch angle (overall angle of all branches) |
1340 | + | |
1341 | - | local ba = math.random(-da/3,da/3) |
1341 | + | |
1342 | - | -- ba+da/2 shouldn't be near or greater than 90 degrees |
1342 | + | |
1343 | - | for i=0,nb-1 do -- for each branch |
1343 | + | if block.className=="IntValue" then |
1344 | - | local branch = base:Clone() |
1344 | + | if block.Value>0 then |
1345 | - | branch.Name = "Branch" |
1345 | + | blocked=true |
1346 | - | local h = height*math.random(95,115)/100 -- height .95 to 1.15 of original |
1346 | + | if decreaseblock~=nil then |
1347 | - | -- make new cframe |
1347 | + | block.Value=block.Value-1 |
1348 | - | -- move new to top of base, then apply branch angle (ba) |
1348 | + | |
1349 | - | local new = branch.CFrame * CFrame.new(0,height/2,0) * CFrame.Angles(0,0,math.rad(ba)) |
1349 | + | |
1350 | - | -- next, rotate branch so that it faces away from others, also apply overall rotation (r) |
1350 | + | |
1351 | - | -- also, apply the split angle (da) |
1351 | + | |
1352 | - | -- finally, move branch upward by half it's size |
1352 | + | if blocked==false then |
1353 | - | new = new * CFrame.Angles(0,i*(math.pi*2/nb)+r,math.rad(da/2)) * CFrame.new(0,h/2,0) |
1353 | + | -- h:TakeDamage(Damage) |
1354 | - | -- determine width by branch's final angle; greater the angle, smaller the width |
1354 | + | h.Health=h.Health-Damage |
1355 | - | -- also shave off a bit of width for more dramatic change in size |
1355 | + | showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller")) |
1356 | - | -- a frustum cone mesh would really help here |
1356 | + | |
1357 | - | local w = dot(new,branch.CFrame)*width*0.9 |
1357 | + | h.Health=h.Health-(Damage/2) |
1358 | - | branch.Size = Vector3.new(w,h,w) |
1358 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) |
1359 | - | branch.CFrame = new |
1359 | + | |
1360 | - | branch.Parent = base.Parent |
1360 | + | if Type=="Knockdown" then |
1361 | - | if not Anchored then |
1361 | + | hum=hit.Parent.Humanoid |
1362 | - | Weld(branch,base) |
1362 | + | hum.PlatformStand=true |
1363 | - | branch.Anchored = false |
1363 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
1364 | - | end |
1364 | + | swait(1) |
1365 | - | -- create the next set of branches with one less complexity |
1365 | + | HHumanoid.PlatformStand=false |
1366 | - | Branch(branch,c-1) |
1366 | + | end),hum) |
1367 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
1368 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
1369 | - | -- wait() -- uncomment to generate slower |
1369 | + | local bodvol=Instance.new("BodyVelocity") |
1370 | bodvol.velocity=angle*knockback | |
1371 | - | -- Main Function ---------------- |
1371 | + | bodvol.P=5000 |
1372 | - | function GenerateTree(location,complexity,width,height,anchor) |
1372 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
1373 | - | print(","..complexity..","..width..","..height) |
1373 | + | bodvol.Parent=hit |
1374 | - | if on then |
1374 | + | rl=Instance.new("BodyAngularVelocity") |
1375 | - | local tree = Instance.new("Model") |
1375 | + | rl.P=3000 |
1376 | - | tree.Name = "Tree" |
1376 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
1377 | - | tree.Parent = workspace |
1377 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
1378 | - | local base = Base:Clone() |
1378 | + | rl.Parent=hit |
1379 | - | base.Parent = tree |
1379 | + | game:GetService("Debris"):AddItem(bodvol,.5) |
1380 | - | base.Size = Vector3.new(width,height,width) |
1380 | + | game:GetService("Debris"):AddItem(rl,.5) |
1381 | - | -- move up by half its height, and rotate randomly |
1381 | + | elseif Type=="Normal" then |
1382 | - | base.CFrame = CFrame.new(location) * CFrame.new(0,height/2,0) * CFrame.Angles(0,math.rad(math.random(1,360)),0) |
1382 | + | so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100) |
1383 | - | -- start branching |
1383 | + | vp=Instance.new("BodyVelocity") |
1384 | - | if not Anchored then |
1384 | + | vp.P=500 |
1385 | - | Weld(base,anchor) |
1385 | + | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
1386 | - | base.Anchored = false |
1386 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
1387 | if KnockbackType==1 then | |
1388 | - | Branch(base,complexity) |
1388 | + | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
1389 | - | return tree |
1389 | + | elseif KnockbackType==2 then |
1390 | vp.velocity=Property.CFrame.lookVector*knockback | |
1391 | end | |
1392 | - | function sbjclick() |
1392 | + | if knockback>0 then |
1393 | - | local user=usertest.Text |
1393 | + | vp.Parent=hit.Parent.Torso |
1394 | - | for i,v in pairs(SearchPlayer(user)) do |
1394 | + | |
1395 | game:GetService("Debris"):AddItem(vp,.5) | |
1396 | - | local char=v.Character |
1396 | + | elseif Type=="Up" then |
1397 | - | local t=char.Torso |
1397 | + | local bodyVelocity=Instance.new("BodyVelocity") |
1398 | - | n=t.Neck |
1398 | + | bodyVelocity.velocity=vt(0,60,0) |
1399 | - | local lw=Instance.new('Weld',t) |
1399 | + | bodyVelocity.P=5000 |
1400 | - | lw.Name='leftWeld' |
1400 | + | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
1401 | - | lw.Part0=t |
1401 | + | bodyVelocity.Parent=hit |
1402 | - | lw.Part1=char['Left Arm'] |
1402 | + | game:GetService("Debris"):AddItem(bodyVelocity,1) |
1403 | - | lw.C0=CFrame.new(-1,1,-1) *CFrame.Angles(math.rad(100),math.rad(10),math.rad(30)) |
1403 | + | rl=Instance.new("BodyAngularVelocity") |
1404 | - | local rw=Instance.new('Weld',t) |
1404 | + | rl.P=3000 |
1405 | - | rw.Name='rightWeld' |
1405 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
1406 | - | rw.Part0=t |
1406 | + | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
1407 | - | rw.Part1=char['Right Arm'] |
1407 | + | rl.Parent=hit |
1408 | - | rw.C0=CFrame.new(1,0.5,-1) *CFrame.Angles(math.rad(80),math.rad(-10),math.rad(-30)) |
1408 | + | game:GetService("Debris"):AddItem(rl,.5) |
1409 | - | name = v.Name |
1409 | + | elseif Type=="Snare" then |
1410 | - | seg = 5 |
1410 | + | bp=Instance.new("BodyPosition") |
1411 | - | person = v.Name |
1411 | + | bp.P=2000 |
1412 | - | color = "Pastel brown" |
1412 | + | bp.D=100 |
1413 | - | repeat wait() until workspace[person] |
1413 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
1414 | - | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) |
1414 | + | bp.position=hit.Parent.Torso.Position |
1415 | - | D = Instance.new("Model",workspace[person]) |
1415 | + | bp.Parent=hit.Parent.Torso |
1416 | - | D.Name = "Nice thing" |
1416 | + | game:GetService("Debris"):AddItem(bp,1) |
1417 | - | bg = Instance.new("BodyGyro",workspace[person].Torso) |
1417 | + | elseif Type=="Target" then |
1418 | - | d = Instance.new("Part") |
1418 | + | if Targetting==false then |
1419 | - | d.TopSurface = 0 |
1419 | + | ZTarget=hit.Parent.Torso |
1420 | - | d.BottomSurface = 0 |
1420 | + | coroutine.resume(coroutine.create(function(Part) |
1421 | - | d.Name = "Main" |
1421 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
1422 | - | d.Parent = workspace[person]["Nice thing"] |
1422 | + | swait(5) |
1423 | - | d.formFactor = 3 |
1423 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
1424 | - | d.Size = Vector3.new(1,1,1) |
1424 | + | end),ZTarget) |
1425 | - | d.BrickColor = BrickColor.new(color) |
1425 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid") |
1426 | - | d.Position = workspace[person].Torso.Position |
1426 | + | targetgui=Instance.new("BillboardGui") |
1427 | - | d.CanCollide = true |
1427 | + | targetgui.Parent=ZTarget |
1428 | - | local cy = Instance.new("CylinderMesh") |
1428 | + | targetgui.Size=UDim2.new(10,100,10,100) |
1429 | - | cy.Parent = d |
1429 | + | targ=Instance.new("ImageLabel") |
1430 | - | cy.Scale = Vector3.new(0.3,1,0.3) |
1430 | + | targ.Parent=targetgui |
1431 | - | w = Instance.new("Weld") |
1431 | + | targ.BackgroundTransparency=1 |
1432 | - | w.Parent = workspace[person].Torso |
1432 | + | targ.Image="rbxassetid://4834067" |
1433 | - | w.Part0 = d |
1433 | + | targ.Size=UDim2.new(1,0,1,0) |
1434 | - | w.Part1 = workspace[person].Torso |
1434 | + | cam.CameraType="Scriptable" |
1435 | - | w.C0 = CFrame.new(0,-0.8,1)*CFrame.Angles(math.rad(90),0,0) |
1435 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
1436 | - | function Neck(char,segs) |
1436 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
1437 | - | for i = 1,segs do |
1437 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
1438 | - | local nseg = Instance.new("Part", char) |
1438 | + | Targetting=true |
1439 | - | nseg.Name = "Part"..i |
1439 | + | RocketTarget=ZTarget |
1440 | - | nseg.Anchored = false |
1440 | + | for i=1,Property do |
1441 | - | nseg.CanCollide = true |
1441 | + | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
1442 | - | nseg.Size = Vector3.new(1,1,1) |
1442 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
1443 | - | nseg.BrickColor = BrickColor.new'Pastel brown' |
1443 | + | swait() |
1444 | - | local mseg = Instance.new("CylinderMesh",nseg) |
1444 | + | |
1445 | - | mseg.Scale = Vector3.new(0.3,0.8,0.3) |
1445 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
1446 | - | nseg:BreakJoints() |
1446 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
1447 | - | local wseg = Instance.new("Weld", nseg) |
1447 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
1448 | - | if i == 1 then |
1448 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
1449 | - | wseg.Part0 = char |
1449 | + | |
1450 | Targetting=false | |
1451 | - | wseg.Part0 = char["Part"..i-1] |
1451 | + | RocketTarget=nil |
1452 | targetgui.Parent=nil | |
1453 | - | wseg.Part1 = nseg |
1453 | + | cam.CameraType="Custom" |
1454 | - | if i == 1 then |
1454 | + | |
1455 | - | wseg.C1 = CFrame.new(0,-0.8,0.34) |
1455 | + | |
1456 | debounce=Instance.new("BoolValue") | |
1457 | - | wseg.C1 = CFrame.new(0,-0.8,0.35) |
1457 | + | debounce.Name="DebounceHit" |
1458 | debounce.Parent=hit.Parent | |
1459 | - | char["Part"..i].Weld.C0 = CFrame.Angles(math.pi/4,0,0) |
1459 | + | debounce.Value=true |
1460 | - | if nseg.Name == 'Part'..seg then |
1460 | + | game:GetService("Debris"):AddItem(debounce,Delay) |
1461 | - | nseg.Mesh:destroy''; |
1461 | + | c=Instance.new("ObjectValue") |
1462 | - | nseg.BrickColor = BrickColor.new'Pink'; |
1462 | + | c.Name="creator" |
1463 | - | mesh=Instance.new("SpecialMesh",nseg) |
1463 | + | c.Value=Player |
1464 | - | mesh.Scale = Vector3.new(0.4,0.35,0.4) |
1464 | + | c.Parent=h |
1465 | - | --nseg.Weld.C1 = CFrame.new(0,0,0) *CFrame.Angles(0,0,0) |
1465 | + | game:GetService("Debris"):AddItem(c,.5) |
1466 | - | char["Part"..seg].Weld.C0 = CFrame.new(0,0.1,0.8) *CFrame.Angles(math.rad(-55),0,0) |
1466 | + | CRIT=false |
1467 | hitDeb=true | |
1468 | AttackPos=6 | |
1469 | end | |
1470 | - | local ball1 = Instance.new("Part") |
1470 | + | |
1471 | - | ball1.Parent = workspace[person]["Nice thing"] |
1471 | + | |
1472 | - | ball1.Name = "Left Ball" |
1472 | + | showDamage=function(Char,Dealt,du,Color) |
1473 | - | ball1.BottomSurface = 0 |
1473 | + | m=Instance.new("Model") |
1474 | - | ball1.TopSurface = 0 |
1474 | + | m.Name=tostring(Dealt) |
1475 | - | ball1.CanCollide = true |
1475 | + | h=Instance.new("Humanoid") |
1476 | - | ball1.formFactor = 3 |
1476 | + | h.Health=0 |
1477 | - | ball1.Size = Vector3.new(1.5,1.5,1.5) |
1477 | + | h.MaxHealth=0 |
1478 | - | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) |
1478 | + | h.Parent=m |
1479 | - | ball1.BrickColor = BrickColor.new(color) |
1479 | + | c=Instance.new("Part") |
1480 | - | local bsm = Instance.new("SpecialMesh") |
1480 | + | c.Transparency=0 |
1481 | - | bsm.Parent = ball1 |
1481 | + | c.BrickColor=BrickColor.new("Bright red") |
1482 | - | bsm.MeshType = "Sphere" |
1482 | + | c.Name="Head" |
1483 | - | bsm.Scale = Vector3.new(0.3,0.3,0.3) |
1483 | + | c.TopSurface=0 |
1484 | - | local b1w = Instance.new("Weld") |
1484 | + | c.BottomSurface=0 |
1485 | - | b1w.Parent = ball1 |
1485 | + | c.formFactor="Plate" |
1486 | - | b1w.Part0 = workspace[person]["Left Leg"] |
1486 | + | c.Size=Vector3.new(1,.4,1) |
1487 | - | b1w.Part1 = ball1 |
1487 | + | ms=Instance.new("CylinderMesh") |
1488 | - | b1w.C0 = CFrame.new(0.3,1,-0.6) |
1488 | + | ms.Scale=Vector3.new(.8,.8,.8) |
1489 | - | local ball2 = Instance.new("Part") |
1489 | + | if CRIT==true then |
1490 | - | ball2.Parent = workspace[person]["Nice thing"] |
1490 | + | ms.Scale=Vector3.new(1,1.25,1) |
1491 | - | ball2.Name = "Right Ball" |
1491 | + | |
1492 | - | ball2.BottomSurface = 0 |
1492 | + | ms.Parent=c |
1493 | - | ball2.CanCollide = true |
1493 | + | c.Reflectance=0 |
1494 | - | ball2.TopSurface = 0 |
1494 | + | Instance.new("BodyGyro").Parent=c |
1495 | - | ball2.formFactor = 3 |
1495 | + | c.Parent=m |
1496 | - | ball2.Size = Vector3.new(1.5,1.5,1.5) |
1496 | + | if Char:findFirstChild("Head")~=nil then |
1497 | - | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) |
1497 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
1498 | - | ball2.BrickColor = BrickColor.new(color) |
1498 | + | elseif Char.Parent:findFirstChild("Head")~=nil then |
1499 | - | local b2sm = Instance.new("SpecialMesh") |
1499 | + | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
1500 | - | b2sm.Parent = ball2 |
1500 | + | |
1501 | - | b2sm.MeshType = "Sphere" |
1501 | + | f=Instance.new("BodyPosition") |
1502 | - | b2sm.Scale = Vector3.new(0.3,0.3,0.3) |
1502 | + | f.P=2000 |
1503 | - | local b2w = Instance.new("Weld") |
1503 | + | f.D=100 |
1504 | - | b2w.Parent = ball2 |
1504 | + | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
1505 | - | b2w.Part0 = workspace[person]["Right Leg"] |
1505 | + | f.position=c.Position+Vector3.new(0,3,0) |
1506 | - | b2w.Part1 = ball2 |
1506 | + | f.Parent=c |
1507 | - | b2w.C0 = CFrame.new(-0.3,1,-0.6) |
1507 | + | game:GetService("Debris"):AddItem(m,.5+du) |
1508 | - | Neck(d,seg) |
1508 | + | c.CanCollide=false |
1509 | m.Parent=workspace | |
1510 | - | while wait() do |
1510 | + | c.CanCollide=false |
1511 | - | for i=1,50 do |
1511 | + | |
1512 | - | n.C0 = n.C0 *CFrame.Angles(math.rad(-0.2),0,0) |
1512 | + | |
1513 | - | wait(0.0015) |
1513 | + | function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) |
1514 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1515 | - | for i=1,50 do |
1515 | + | prt.Anchored = true |
1516 | - | n.C0 = n.C0 *CFrame.Angles(math.rad(0.2),0,0) |
1516 | + | prt.CFrame = cframe |
1517 | - | wait(0.0015) |
1517 | + | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) |
1518 | coroutine.resume(coroutine.create(function() | |
1519 | - | end end)) |
1519 | + | for i = 0, 1, delay do |
1520 | swait() | |
1521 | prt.Transparency = i | |
1522 | - | function nclick() |
1522 | + | msh.Scale = msh.Scale + vt(x2, y2, z2) |
1523 | - | local user=usertest.Text |
1523 | + | end |
1524 | - | local name=twuser.Text |
1524 | + | prt.Parent = nil |
1525 | - | for i,v in pairs(SearchPlayer(user)) do |
1525 | + | end)) |
1526 | - | for c,b in pairs(SearchPlayer(name)) do |
1526 | + | |
1527 | - | v.CharacterAppearance = b.CharacterAppearance |
1527 | + | |
1528 | - | v.Character:BreakJoints() |
1528 | + | function attackone() |
1529 | attack=true | |
1530 | for i=0,1,0.04 do | |
1531 | swait() | |
1532 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1) | |
1533 | - | function dkinpc() |
1533 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
1534 | - | local user=usertest.Text |
1534 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) |
1535 | - | for i,v in pairs(SearchPlayer(user)) do |
1535 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) |
1536 | - | coroutine.resume(coroutine.create(function() |
1536 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1537 | - | person=v.Name |
1537 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1538 | - | color = "Pastel brown" |
1538 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) |
1539 | - | pcall(function() v.Character["Nice thing"]:Remove() end) |
1539 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2) |
1540 | - | D = Instance.new("Model",workspace[person]) |
1540 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1541 | - | D.Name = "Nice thing" |
1541 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2) |
1542 | - | bg = Instance.new("BodyGyro",workspace[person].Torso) |
1542 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1543 | - | d = Instance.new("Part") |
1543 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1544 | - | d.TopSurface = 0 |
1544 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2) |
1545 | - | d.BottomSurface = 0 |
1545 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) |
1546 | - | d.Name = "Main" |
1546 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1547 | - | d.Parent = workspace[person]["Nice thing"] |
1547 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) |
1548 | - | d.formFactor = 3 |
1548 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1549 | - | d.Size = Vector3.new(1,1,1) |
1549 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) |
1550 | - | d.BrickColor = BrickColor.new(color) |
1550 | + | |
1551 | - | d.Position = workspace[person].Head.Position |
1551 | + | so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1) |
1552 | - | d.CanCollide = true |
1552 | + | con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) |
1553 | - | local cy = Instance.new("CylinderMesh") |
1553 | + | for i=0,1,0.2 do |
1554 | - | cy.Parent = d |
1554 | + | swait() |
1555 | - | cy.Scale = Vector3.new(0.8,1,0.8) |
1555 | + | Shockwave(BrickColor.new("Institutional white"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075) |
1556 | - | w = Instance.new("Weld") |
1556 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) |
1557 | - | w.Parent = workspace[person].Head |
1557 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
1558 | - | w.Part0 = d |
1558 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) |
1559 | - | w.Part1 = workspace[person].Head |
1559 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) |
1560 | - | w.C0 = CFrame.new(0,-1,2.5)*CFrame.Angles(math.rad(90),0,0) |
1560 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1561 | - | local ball1 = Instance.new("Part") |
1561 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1562 | - | ball1.Parent = workspace[person]["Nice thing"] |
1562 | + | arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
1563 | - | ball1.Name = "Left Ball" |
1563 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3) |
1564 | - | ball1.BottomSurface = 0 |
1564 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1565 | - | ball1.TopSurface = 0 |
1565 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1566 | - | ball1.CanCollide = true |
1566 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1567 | - | ball1.formFactor = 3 |
1567 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1568 | - | ball1.Size = Vector3.new(1,1,1) |
1568 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2) |
1569 | - | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) |
1569 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) |
1570 | - | ball1.BrickColor = BrickColor.new(color) |
1570 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1571 | - | local bsm = Instance.new("SpecialMesh") |
1571 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) |
1572 | - | bsm.Parent = ball1 |
1572 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1573 | - | bsm.MeshType = "Sphere" |
1573 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) |
1574 | - | bsm.Scale = Vector3.new(0.9,0.9,0.9) |
1574 | + | |
1575 | - | local b1w = Instance.new("Weld") |
1575 | + | for i=0,1,0.04 do |
1576 | - | b1w.Parent = ball1 |
1576 | + | swait() |
1577 | - | b1w.Part0 = workspace[person]["Left Leg"] |
1577 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2) |
1578 | - | b1w.Part1 = ball1 |
1578 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
1579 | - | b1w.C0 = CFrame.new(0.855,0.6,-0.6) |
1579 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3) |
1580 | - | local ball2 = Instance.new("Part") |
1580 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2) |
1581 | - | ball2.Parent = workspace[person]["Nice thing"] |
1581 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1582 | - | ball2.Name = "Right Ball" |
1582 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1583 | - | ball2.BottomSurface = 0 |
1583 | + | arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
1584 | - | ball2.CanCollide = true |
1584 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3) |
1585 | - | ball2.TopSurface = 0 |
1585 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1586 | - | ball2.formFactor = 3 |
1586 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1587 | - | ball2.Size = Vector3.new(1,1,1) |
1587 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1588 | - | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) |
1588 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1589 | - | ball2.BrickColor = BrickColor.new(color) |
1589 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2) |
1590 | - | local b2sm = Instance.new("SpecialMesh") |
1590 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) |
1591 | - | b2sm.Parent = ball2 |
1591 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1592 | - | b2sm.MeshType = "Sphere" |
1592 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) |
1593 | - | b2sm.Scale = Vector3.new(0.9,0.9,0.9) |
1593 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1594 | - | local b2w = Instance.new("Weld") |
1594 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) |
1595 | - | b2w.Parent = ball2 |
1595 | + | |
1596 | - | b2w.Part0 = workspace[person]["Right Leg"] |
1596 | + | con1:disconnect() |
1597 | - | b2w.Part1 = ball2 |
1597 | + | attack=false |
1598 | - | b2w.C0 = CFrame.new(-0.855,0.6,-0.6) |
1598 | + | |
1599 | - | name = v.Name |
1599 | + | |
1600 | - | seg = twuser.Text |
1600 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
1601 | - | seg = seg+1 |
1601 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1602 | end | |
1603 | - | function Neck(char,segs) |
1603 | + | |
1604 | - | for i = 1,segs do |
1604 | + | function attacktwo() |
1605 | - | local nseg = Instance.new("Part", char) |
1605 | + | attack=true |
1606 | - | nseg.Name = "seg"..i |
1606 | + | for i=0,1,0.04 do |
1607 | - | nseg.Anchored = false |
1607 | + | swait() |
1608 | - | nseg.CanCollide = true |
1608 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1) |
1609 | - | nseg.Size = Vector3.new(1,1,1) |
1609 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
1610 | - | nseg.BrickColor = BrickColor.new'Pastel brown' |
1610 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) |
1611 | - | local mseg = Instance.new("CylinderMesh",nseg) |
1611 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) |
1612 | - | mseg.Scale = Vector3.new(0.8,1.2,0.8) |
1612 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1613 | - | nseg:BreakJoints() |
1613 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1614 | - | local wseg = Instance.new("Weld", nseg) |
1614 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) |
1615 | - | if i == 1 then |
1615 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) |
1616 | - | wseg.Part0 = char |
1616 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1617 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
1618 | - | wseg.Part0 = char["seg"..i-1] |
1618 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1619 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) | |
1620 | - | wseg.Part1 = nseg |
1620 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2) |
1621 | - | if i == 1 then |
1621 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) |
1622 | - | wseg.C1 = CFrame.new(0,-1,0) |
1622 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1623 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2) | |
1624 | - | wseg.C1 = CFrame.new(0,-0.8,0) |
1624 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1625 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) | |
1626 | - | if nseg.Name == "seg"..seg then |
1626 | + | |
1627 | - | nseg.Mesh:Destroy() |
1627 | + | so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8) |
1628 | - | nseg.BrickColor = BrickColor.new'Pink' |
1628 | + | con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) |
1629 | - | local mseg = Instance.new("SpecialMesh",nseg) |
1629 | + | for i=0,1,0.2 do |
1630 | - | mseg.Scale = Vector3.new(1,0.8,1) |
1630 | + | swait() |
1631 | - | end |
1631 | + | Shockwave(BrickColor.new("Institutional white"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075) |
1632 | - | char["seg"..i].Weld.C0 = CFrame.Angles(0,0,math.pi/8) |
1632 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2) |
1633 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
1634 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) | |
1635 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) | |
1636 | - | Neck(workspace[name]["Nice thing"].Main,seg) |
1636 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1637 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
1638 | - | while wait(0.05) do |
1638 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) |
1639 | - | if tostring(seg):len() >= 1 and tostring(seg):len() <= 9 then |
1639 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) |
1640 | - | cfa = CFrame.Angles(math.cos(tick()*(seg/(seg/10)))/(seg/(seg/10)),0,0) |
1640 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1641 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) | |
1642 | - | if tostring(seg):len() >= 10 and tostring(seg):len() <= 99 then |
1642 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1643 | - | cfa = CFrame.Angles(math.cos(tick()*(seg/(seg/100)))/(seg/(seg/100)),0,0) |
1643 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1644 | arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3) | |
1645 | - | if seg == 100 then |
1645 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3) |
1646 | - | cfa = CFrame.Angles(math.cos(tick()*(seg/2))/(seg/2),0,0) |
1646 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1647 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
1648 | - | |
1648 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1649 | - | for i = 1,seg do |
1649 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
1650 | - | workspace[name]["Nice thing"].Main["seg"..i].Weld.C0 = cfa |
1650 | + | |
1651 | Humanoid.WalkSpeed = 0 | |
1652 | - | --workspace[name].Torso.Neck.C0 = CFrame.new(math.cos((tick()*3)+math.pi)*3.7,((math.cos((tick()*6)+math.pi)*1.5)*0.8)+((seg/2)+(seg/10)),0) * CFrame.Angles(math.pi/2,((math.sin((tick()*3)+math.pi/2)*(math.pi/2)))+math.pi,0) |
1652 | + | local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) |
1653 | - | end end)) |
1653 | + | if hit~=nil then |
1654 | swait() | |
1655 | print("touched") | |
1656 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) | |
1657 | ref.Anchored=true | |
1658 | - | function dkpc() |
1658 | + | ref.CFrame=cf(pos) |
1659 | - | local user=usertest.Text |
1659 | + | game:GetService("Debris"):AddItem(ref,3) |
1660 | - | local user2=twuser.Text |
1660 | + | so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100) |
1661 | - | for i,v in pairs(SearchPlayer(user)) do |
1661 | + | Shockwave2(BrickColor.new("Pastel light blue"),cf(pos),0.1,0.1,0.1,1,1,1,0.05) |
1662 | - | for c,b in pairs(SearchPlayer(user2)) do |
1662 | + | |
1663 | for i=0,1,0.04 do | |
1664 | - | local t2 = b.Character |
1664 | + | swait() |
1665 | - | person=v.Name |
1665 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2) |
1666 | - | color = "Pastel brown" |
1666 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
1667 | - | workspace[person].Torso.Anchored=true |
1667 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2) |
1668 | - | pcall(function() v.Character["Nice thing"]:Remove() end) |
1668 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2) |
1669 | - | D = Instance.new("Model",workspace[person]) |
1669 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1670 | - | D.Name = "Nice thing" |
1670 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1671 | - | bg = Instance.new("BodyGyro",workspace[person].Torso) |
1671 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) |
1672 | - | d = Instance.new("Part") |
1672 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2) |
1673 | - | d.TopSurface = 0 |
1673 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1674 | - | d.BottomSurface = 0 |
1674 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2) |
1675 | - | d.Name = "Main" |
1675 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1676 | - | d.Parent = workspace[person]["Nice thing"] |
1676 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2) |
1677 | - | d.formFactor = 3 |
1677 | + | arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3) |
1678 | - | d.Size = Vector3.new(1,5,1) |
1678 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3) |
1679 | - | d.BrickColor = BrickColor.new(color) |
1679 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1680 | - | d.Position = workspace[person].Head.Position |
1680 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) |
1681 | - | d.CanCollide = true |
1681 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1682 | - | local cy = Instance.new("CylinderMesh") |
1682 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
1683 | - | cy.Parent = d |
1683 | + | |
1684 | - | cy.Scale = Vector3.new(0.6,1,0.6) |
1684 | + | Humanoid.WalkSpeed = 64 |
1685 | - | w = Instance.new("Weld") |
1685 | + | con1:disconnect() |
1686 | - | w.Parent = workspace[person].Head |
1686 | + | attack=false |
1687 | - | w.Part0 = d |
1687 | + | |
1688 | - | w.Part1 = workspace[person].Head |
1688 | + | |
1689 | - | w.C0 = CFrame.new(0,-2,2.35)*CFrame.Angles(math.rad(70),0,0) |
1689 | + | lasereye=1 |
1690 | - | local c = Instance.new("Part") |
1690 | + | |
1691 | - | c.Name = "Mush" |
1691 | + | mouse.Button1Down:connect(function() |
1692 | - | c.BottomSurface = 0 |
1692 | + | if attack==false and attacktype==1 and sphere==false then |
1693 | - | c.TopSurface = 0 |
1693 | + | attackone() |
1694 | - | c.FormFactor = 3 |
1694 | + | attacktype=2 |
1695 | - | c.Size = Vector3.new(1,1,1) |
1695 | + | elseif attack==false and attacktype==2 and sphere==false then |
1696 | - | c.CFrame = CFrame.new(d.Position) |
1696 | + | attacktwo() |
1697 | - | c.BrickColor = BrickColor.new("Pink") |
1697 | + | attacktype=1 |
1698 | - | c.CanCollide = true |
1698 | + | |
1699 | - | c.Parent = workspace[person]["Nice thing"] |
1699 | + | if attack==false and used==false and sphere==true and rest==false and lasereye==1 then |
1700 | - | local msm = Instance.new("SpecialMesh") |
1700 | + | lasereye=2 |
1701 | - | msm.Parent = c |
1701 | + | LaserBlaster() |
1702 | - | msm.MeshType = "Head" |
1702 | + | elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then |
1703 | - | msm.Scale = Vector3.new(1.199,1.199,1.199) |
1703 | + | lasereye=1 |
1704 | - | local cw = Instance.new("Weld") |
1704 | + | LaserBlaster2() |
1705 | - | cw.Parent = c |
1705 | + | |
1706 | - | cw.Part0 = d |
1706 | + | |
1707 | - | cw.Part1 = c |
1707 | + | |
1708 | - | cw.C0 = CFrame.new(0,2.5,0) |
1708 | + | function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
1709 | - | local ball1 = Instance.new("Part") |
1709 | + | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1710 | - | ball1.Parent = workspace[person]["Nice thing"] |
1710 | + | prt.Anchored = true |
1711 | - | ball1.Name = "Left Ball" |
1711 | + | prt.CFrame = cframe |
1712 | - | ball1.BottomSurface = 0 |
1712 | + | prt.Material = "Neon" |
1713 | - | ball1.TopSurface = 0 |
1713 | + | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1714 | - | ball1.CanCollide = true |
1714 | + | game:GetService("Debris"):AddItem(prt, 2) |
1715 | - | ball1.formFactor = 3 |
1715 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1716 | - | ball1.Size = Vector3.new(2,2,2) |
1716 | + | for i = 0, 1, delay do |
1717 | - | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) |
1717 | + | swait() |
1718 | - | ball1.BrickColor = BrickColor.new(color) |
1718 | + | Part.CFrame = Part.CFrame |
1719 | - | local bsm = Instance.new("SpecialMesh") |
1719 | + | Part.Transparency = i |
1720 | - | bsm.Parent = ball1 |
1720 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1721 | - | bsm.MeshType = "Sphere" |
1721 | + | end |
1722 | - | bsm.Scale = Vector3.new(0.8,0.8,0.8) |
1722 | + | Part.Parent = nil |
1723 | - | local b1w = Instance.new("Weld") |
1723 | + | end), prt, msh) |
1724 | - | b1w.Parent = ball1 |
1724 | + | |
1725 | - | b1w.Part0 = workspace[person]["Left Leg"] |
1725 | + | |
1726 | - | b1w.Part1 = ball1 |
1726 | + | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
1727 | - | b1w.C0 = CFrame.new(1.2,0.5,-0.6) |
1727 | + | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1728 | - | local ball2 = Instance.new("Part") |
1728 | + | prt.Anchored = true |
1729 | - | ball2.Parent = workspace[person]["Nice thing"] |
1729 | + | prt.CFrame = cframe |
1730 | - | ball2.Name = "Right Ball" |
1730 | + | prt.Material = "Neon" |
1731 | - | ball2.BottomSurface = 0 |
1731 | + | local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1732 | - | ball2.CanCollide = true |
1732 | + | game:GetService("Debris"):AddItem(prt, 2) |
1733 | - | ball2.TopSurface = 0 |
1733 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1734 | - | ball2.formFactor = 3 |
1734 | + | for i = 0, 1, delay do |
1735 | - | ball2.Size = Vector3.new(2,2,2) |
1735 | + | swait() |
1736 | - | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) |
1736 | + | Part.CFrame = Part.CFrame |
1737 | - | ball2.BrickColor = BrickColor.new(color) |
1737 | + | Part.Transparency = i |
1738 | - | local b2sm = Instance.new("SpecialMesh") |
1738 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1739 | - | b2sm.Parent = ball2 |
1739 | + | end |
1740 | - | b2sm.MeshType = "Sphere" |
1740 | + | Part.Parent = nil |
1741 | - | b2sm.Scale = Vector3.new(0.8,0.8,0.8) |
1741 | + | end), prt, msh) |
1742 | - | local b2w = Instance.new("Weld") |
1742 | + | |
1743 | - | b2w.Parent = ball2 |
1743 | + | |
1744 | - | b2w.Part0 = workspace[person]["Right Leg"] |
1744 | + | MMouse=mouse |
1745 | - | b2w.Part1 = ball2 |
1745 | + | LaserTarget=RootPart |
1746 | - | b2w.C0 = CFrame.new(-1.2,0.5,-0.6) |
1746 | + | used=false |
1747 | - | local newweld=Instance.new('Weld',d) |
1747 | + | |
1748 | - | newweld.Part0=d |
1748 | + | function LaserBlaster() |
1749 | - | newweld.Part1=t2.Torso |
1749 | + | used=true |
1750 | - | newweld.C0=CFrame.new(0,2,1)*CFrame.Angles(math.rad(90),0,0) |
1750 | + | so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100) |
1751 | - | ls2 = Instance.new("Weld",t2) |
1751 | + | local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p) |
1752 | - | ls.Part0 = t2["Left Arm"] |
1752 | + | local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent) |
1753 | - | ls.Part1 = t2.Torso |
1753 | + | local mag=(eyep.Position-pos).magnitude |
1754 | - | ls.C0 = CFrame.new(1.35,-1,0) |
1754 | + | Laser(BrickColor.new("Cyan"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1) |
1755 | - | rs = Instance.new("Weld",t2) |
1755 | + | if hit~=nil then |
1756 | - | rs.Part0 = t2["Right Arm"] |
1756 | + | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) |
1757 | - | rs.Part1 = t2.Torso |
1757 | + | ref.Anchored=true |
1758 | - | rs.C0 = CFrame.new(-1.35,-1,0) |
1758 | + | ref.CFrame=cf(pos) |
1759 | - | lh = Instance.new("Weld",t2) |
1759 | + | game:GetService("Debris"):AddItem(ref,1) |
1760 | - | lh.Part0 = t2["Left Leg"] |
1760 | + | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100) |
1761 | - | lh.Part1 = t2.Torso |
1761 | + | Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075) |
1762 | - | lh.C0 = CFrame.new(0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(15)) |
1762 | + | Damagefunc(hit,20,40,0,"Normal",RootPart,0) |
1763 | - | rh = Instance.new("Weld",t2) |
1763 | + | |
1764 | - | rh.Part0 = t2["Right Leg"] |
1764 | + | for i=0,1,0.2 do |
1765 | - | rh.Part1 = t2.Torso |
1765 | + | swait() |
1766 | - | rh.C0 = CFrame.new(-0.3,1.8,0.4) *CFrame.Angles(math.rad(25),0,math.rad(-15)) |
1766 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
1767 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
1768 | - | for i=1,135/2 do |
1768 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1769 | - | rs.C0 = rs.C0 * cfa(0,0,math.rad(2)) |
1769 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1770 | - | ls.C0 = ls.C0 * cfa(0,0,math.rad(2)) |
1770 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1771 | - | wait(0.0005) |
1771 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1772 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1773 | - | for i=1,135/2 do |
1773 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1774 | - | rs.C0 = rs.C0 * cfa(0,0,math.rad(-2)) |
1774 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1775 | - | ls.C0 = ls.C0 * cfa(0,0,math.rad(-2)) |
1775 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1776 | - | wait(0.0005) |
1776 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1777 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1778 | - | end end)) |
1778 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1779 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1780 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1781 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1782 | - | function basec() |
1782 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1783 | - | fBase("Dark green") |
1783 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1784 | end | |
1785 | - | function basewc() |
1785 | + | wait(0.25) |
1786 | - | fBase("White") |
1786 | + | used=false |
1787 | end | |
1788 | - | function q() |
1788 | + | |
1789 | - | local user=usertest.Text |
1789 | + | function LaserBlaster2() |
1790 | - | for i,v in pairs(SearchPlayer(user)) do |
1790 | + | used=true |
1791 | - | _c=v.Character |
1791 | + | so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100) |
1792 | - | t=_c.Torso |
1792 | + | local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p) |
1793 | - | ls=t['Left Shoulder'] |
1793 | + | local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent) |
1794 | - | rs=t['Right Shoulder'] |
1794 | + | local mag=(eyep2.Position-pos).magnitude |
1795 | - | lh=t['Left Hip'] |
1795 | + | Laser(BrickColor.new("Cyan"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1) |
1796 | - | rh=t['Right Hip'] |
1796 | + | if hit~=nil then |
1797 | - | n=t.Neck |
1797 | + | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) |
1798 | - | _c.Animate.Disabled=true |
1798 | + | ref.Anchored=true |
1799 | - | cfa=CFrame.Angles |
1799 | + | ref.CFrame=cf(pos) |
1800 | - | cf=CFrame.new |
1800 | + | game:GetService("Debris"):AddItem(ref,1) |
1801 | - | for i=1,180 do |
1801 | + | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100) |
1802 | - | ls.C0 = ls.C0 *cfa(0,0,math.rad(-1)) |
1802 | + | Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075) |
1803 | - | rs.C0 = rs.C0 *cfa(0,0,math.rad(1)) |
1803 | + | Damagefunc(hit,20,40,0,"Normal",RootPart,0) |
1804 | end | |
1805 | - | for i=1,35 do |
1805 | + | for i=0,1,0.2 do |
1806 | - | lh.C0 = lh.C0 *cf(0,0.01,0) *cfa(math.rad(-1.2),0,0) |
1806 | + | swait() |
1807 | - | rh.C0 = rh.C0 *cf(0,0.01,0) *cfa(math.rad(-1.2),0,0) |
1807 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
1808 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
1809 | - | t.Parent:MoveTo(t.Position+Vector3.new(0,5,0)) |
1809 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1810 | - | t.Anchored=true |
1810 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1811 | - | _c.Head.Anchored=true |
1811 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1812 | - | local s=Instance.new('Smoke',t) |
1812 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1813 | - | s.Opacity=0.5 |
1813 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1814 | - | s.RiseVelocity=(-25) |
1814 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1815 | - | s.Size=0.1 |
1815 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1816 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1817 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1818 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1819 | - | function evolvec() |
1819 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1820 | - | local user=usertest.Text |
1820 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1821 | - | for i,v in pairs(SearchPlayer(user)) do |
1821 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1822 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1823 | - | person=v.Name |
1823 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1824 | - | local surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"} |
1824 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1825 | - | color = "Pastel brown" |
1825 | + | |
1826 | - | pcall(function() v.Character["Nice thing"]:Remove() end) |
1826 | + | wait(0.25) |
1827 | - | D = Instance.new("Model",workspace[person]) |
1827 | + | used=false |
1828 | - | D.Name = "Nice thing" |
1828 | + | |
1829 | - | bg = Instance.new("BodyGyro",workspace[person].Torso) |
1829 | + | |
1830 | - | d = Instance.new("Part") |
1830 | + | used2=false |
1831 | - | d.TopSurface = 0 |
1831 | + | |
1832 | - | d.BottomSurface = 0 |
1832 | + | function GiantLaserBlaster() |
1833 | - | d.Name = "Main" |
1833 | + | used2=true |
1834 | - | d.Parent = workspace[person]["Nice thing"] |
1834 | + | so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100) |
1835 | - | d.formFactor = 3 |
1835 | + | eyeeffect.Enabled = true |
1836 | - | d.Size = Vector3.new(1,1,1) |
1836 | + | wait(1.6) |
1837 | - | d.BrickColor = BrickColor.new(color) |
1837 | + | eyeeffect.Enabled = false |
1838 | - | d.Position = workspace[person].Head.Position |
1838 | + | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100) |
1839 | - | d.CanCollide = true |
1839 | + | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100) |
1840 | - | local cy = Instance.new("CylinderMesh") |
1840 | + | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100) |
1841 | - | cy.Parent = d |
1841 | + | so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100) |
1842 | - | cy.Scale = Vector3.new(1,1,1) |
1842 | + | local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p) |
1843 | - | w = Instance.new("Weld") |
1843 | + | local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent) |
1844 | - | w.Parent = workspace[person].Head |
1844 | + | local mag=(eyep.Position-pos).magnitude |
1845 | - | w.Part0 = d |
1845 | + | Laser(BrickColor.new("Cyan"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05) |
1846 | - | w.Part1 = workspace[person].Head |
1846 | + | if hit~=nil then |
1847 | - | w.C0 = CFrame.new(0,-1,2.5)*CFrame.Angles(math.rad(90),0,0) |
1847 | + | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) |
1848 | - | local ball1 = Instance.new("Part") |
1848 | + | ref.Anchored=true |
1849 | - | ball1.Parent = workspace[person]["Nice thing"] |
1849 | + | ref.CFrame=cf(pos) |
1850 | - | ball1.Name = "Left Ball" |
1850 | + | game:GetService("Debris"):AddItem(ref,1) |
1851 | - | ball1.BottomSurface = 0 |
1851 | + | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100) |
1852 | - | ball1.TopSurface = 0 |
1852 | + | Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025) |
1853 | - | ball1.CanCollide = true |
1853 | + | Damagefunc(hit,40,80,0,"Normal",RootPart,0) |
1854 | - | ball1.formFactor = 3 |
1854 | + | |
1855 | - | ball1.Size = Vector3.new(1,1,1) |
1855 | + | for i=0,1,0.1 do |
1856 | - | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) |
1856 | + | swait() |
1857 | - | ball1.BrickColor = BrickColor.new(color) |
1857 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) |
1858 | - | local bsm = Instance.new("SpecialMesh") |
1858 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
1859 | - | bsm.Parent = ball1 |
1859 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1860 | - | bsm.MeshType = "Sphere" |
1860 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1861 | - | bsm.Scale = Vector3.new(0.9,0.9,0.9) |
1861 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1862 | - | local b1w = Instance.new("Weld") |
1862 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
1863 | - | b1w.Parent = ball1 |
1863 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1864 | - | b1w.Part0 = workspace[person]["Left Leg"] |
1864 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1865 | - | b1w.Part1 = ball1 |
1865 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1866 | - | b1w.C0 = CFrame.new(0.855,0.6,-0.6) |
1866 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1867 | - | local ball2 = Instance.new("Part") |
1867 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1868 | - | ball2.Parent = workspace[person]["Nice thing"] |
1868 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1869 | - | ball2.Name = "Right Ball" |
1869 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1870 | - | ball2.BottomSurface = 0 |
1870 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1871 | - | ball2.CanCollide = true |
1871 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1872 | - | ball2.TopSurface = 0 |
1872 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1873 | - | ball2.formFactor = 3 |
1873 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1874 | - | ball2.Size = Vector3.new(1,1,1) |
1874 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1875 | - | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) |
1875 | + | |
1876 | - | ball2.BrickColor = BrickColor.new(color) |
1876 | + | wait(3) |
1877 | - | local b2sm = Instance.new("SpecialMesh") |
1877 | + | used2=false |
1878 | - | b2sm.Parent = ball2 |
1878 | + | |
1879 | - | b2sm.MeshType = "Sphere" |
1879 | + | |
1880 | - | b2sm.Scale = Vector3.new(0.9,0.9,0.9) |
1880 | + | function GiantLaserBlaster2() |
1881 | - | local b2w = Instance.new("Weld") |
1881 | + | used2=true |
1882 | - | b2w.Parent = ball2 |
1882 | + | so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100) |
1883 | - | b2w.Part0 = workspace[person]["Right Leg"] |
1883 | + | eyeeffect2.Enabled = true |
1884 | - | b2w.Part1 = ball2 |
1884 | + | wait(1.6) |
1885 | - | b2w.C0 = CFrame.new(-0.855,0.6,-0.6) |
1885 | + | eyeeffect2.Enabled = false |
1886 | - | name = v.Name |
1886 | + | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100) |
1887 | - | seg = tonumber(twuser.Text) |
1887 | + | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100) |
1888 | - | other = seg+50 |
1888 | + | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100) |
1889 | so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100) | |
1890 | - | function newNeck(char,segs) |
1890 | + | local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p) |
1891 | - | for i = 1,segs do |
1891 | + | local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent) |
1892 | - | local nseg = Instance.new("Part", char) |
1892 | + | local mag=(eyep2.Position-pos).magnitude |
1893 | - | nseg.Name = "seg"..i |
1893 | + | Laser(BrickColor.new("Cyan"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05) |
1894 | - | nseg.Anchored = false |
1894 | + | if hit~=nil then |
1895 | - | nseg.CanCollide = true |
1895 | + | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) |
1896 | - | nseg.Size = Vector3.new(1,1,1) |
1896 | + | ref.Anchored=true |
1897 | - | nseg.BrickColor = BrickColor.new'Pastel brown' |
1897 | + | ref.CFrame=cf(pos) |
1898 | - | local mseg = Instance.new("CylinderMesh",nseg) |
1898 | + | game:GetService("Debris"):AddItem(ref,1) |
1899 | - | mseg.Scale = Vector3.new(1,1,1) |
1899 | + | so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100) |
1900 | - | nseg:BreakJoints() |
1900 | + | Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025) |
1901 | - | local wseg = Instance.new("Weld", nseg) |
1901 | + | Damagefunc(hit,40,80,0,"Normal",RootPart,0) |
1902 | - | if i == 1 then |
1902 | + | |
1903 | - | wseg.Part0 = char |
1903 | + | for i=0,1,0.1 do |
1904 | swait() | |
1905 | - | wseg.Part0 = char["seg"..i-1] |
1905 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) |
1906 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
1907 | - | wseg.Part1 = nseg |
1907 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1908 | - | if i == 1 then |
1908 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
1909 | - | wseg.C1 = CFrame.new(0,-1,0) |
1909 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
1910 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
1911 | - | wseg.C1 = CFrame.new(0,-0.8,0) |
1911 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1912 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1913 | - | if nseg.Name == "seg"..seg then |
1913 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1914 | - | nseg.Mesh:Destroy() |
1914 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1915 | - | nseg.BrickColor = BrickColor.new'Pink' |
1915 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1916 | - | local mseg = Instance.new("SpecialMesh",nseg) |
1916 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1917 | - | mseg.Scale = Vector3.new(1,0.8,1) |
1917 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1918 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1919 | - | char["seg"..i].Weld.C0 = CFrame.Angles(math.rad(1.5),0,0) |
1919 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1920 | - | if i > seg then |
1920 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1921 | - | nseg.Transparency = 1 |
1921 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
1922 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1923 | end | |
1924 | wait(3) | |
1925 | used2=false | |
1926 | - | newNeck(workspace[name]["Nice thing"].Main,other) |
1926 | + | |
1927 | - | par=workspace[name]["Nice thing"].Main |
1927 | + | |
1928 | function Hibernation() | |
1929 | - | for i=1,seg do |
1929 | + | if rest==false then |
1930 | - | par["seg"..i].Mesh.Scale = Vector3.new(1,1,1) |
1930 | + | print("You are now resting.") |
1931 | - | wait(0.015) |
1931 | + | rest=true |
1932 | - | par["seg"..i+1].Mesh.Scale = Vector3.new(2,1,2) |
1932 | + | attack=true |
1933 | - | if par["seg"..i+1].Name == "seg"..seg then |
1933 | + | emitter.Enabled = false |
1934 | - | par["seg"..i+1].Mesh.Scale = Vector3.new(2,2,2) |
1934 | + | particleemitter.Enabled = false |
1935 | for i=0,1,0.15 do | |
1936 | - | wait(0.015) |
1936 | + | wait() |
1937 | - | par["seg"..i+2].Mesh.Scale = Vector3.new(3,1,3) |
1937 | + | Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0) |
1938 | - | if par["seg"..i+2].Name == "seg"..seg then |
1938 | + | music.Volume = 0.5-0.5*i |
1939 | - | par["seg"..i+2].Mesh.Scale = Vector3.new(3,3,3) |
1939 | + | --eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2) |
1940 | --eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2) | |
1941 | - | wait(0.015) |
1941 | + | end |
1942 | - | par["seg"..i+3].Mesh.Scale = Vector3.new(4,1,4) |
1942 | + | music.Volume = 0 |
1943 | - | if par["seg"..i+3].Name == "seg"..seg then |
1943 | + | Humanoid.CameraOffset = Vector3.new(0, 0, 0) |
1944 | - | par["seg"..i+3].Mesh.Scale = Vector3.new(4,4,4) |
1944 | + | attack=false |
1945 | Humanoid.WalkSpeed = 0 | |
1946 | - | wait(0.015) |
1946 | + | elseif rest==true then |
1947 | - | par["seg"..i+4].Mesh.Scale = Vector3.new(3,1,3) |
1947 | + | print("You are now awake.") |
1948 | - | if par["seg"..i+4].Name == "seg"..seg then |
1948 | + | rest=false |
1949 | - | local s = Instance.new("Part",par["seg"..seg]) |
1949 | + | attack=true |
1950 | - | s.Size = Vector3.new(2,2,2) |
1950 | + | for i=0,1,0.15 do |
1951 | - | for i,v in pairs(surfaces) do |
1951 | + | wait() |
1952 | - | s[v]=0 |
1952 | + | Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0) |
1953 | music.Volume = 0+0.5*i | |
1954 | - | s.BrickColor = BrickColor.new('White') |
1954 | + | --eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2) |
1955 | - | s.Shape = 'Ball' |
1955 | + | --eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2) |
1956 | - | local mesh = Instance.new("SpecialMesh",s) |
1956 | + | end |
1957 | - | mesh.MeshType = 'Sphere' |
1957 | + | emitter.Enabled = true |
1958 | - | s.CFrame=CFrame.new(par["seg"..seg].Position) |
1958 | + | particleemitter.Enabled = true |
1959 | - | par["seg"..i+4].Mesh.Scale = Vector3.new(3,3,3) |
1959 | + | Humanoid.WalkSpeed = 16 |
1960 | music.Volume = 0.5 | |
1961 | - | wait(0.015) |
1961 | + | Humanoid.CameraOffset = Vector3.new(0, 12.5, 0) |
1962 | - | par["seg"..i+5].Mesh.Scale = Vector3.new(2,1,2) |
1962 | + | attack=false |
1963 | - | if par["seg"..i+6].Name == "seg"..seg then |
1963 | + | end |
1964 | - | par["seg"..i+6].Mesh.Scale = Vector3.new(2,2,2) |
1964 | + | |
1965 | ||
1966 | - | wait(0.015) |
1966 | + | ragemodedelay=false |
1967 | - | par["seg"..i+6].Mesh.Scale = Vector3.new(1,1,1) |
1967 | + | |
1968 | - | if par["seg"..i+6].Name == "seg"..seg then |
1968 | + | function RageMode() |
1969 | - | par["seg"..i+6].Mesh.Scale = Vector3.new(1,1,1) |
1969 | + | if sphere==true then |
1970 | music:Stop() | |
1971 | - | wait(0.015) |
1971 | + | music2:Play() |
1972 | rawr:Play() | |
1973 | - | wait(0.2) |
1973 | + | particleemitter2.Enabled=true |
1974 | particleemitter3.Enabled=true | |
1975 | particleemitter4.Enabled=true | |
1976 | particleemitter5.Enabled=true | |
1977 | particleemitter6.Enabled=true | |
1978 | particleemitter7.Enabled=true | |
1979 | - | function nc() |
1979 | + | particleemitter8.Enabled=true |
1980 | - | local user=usertest.Text |
1980 | + | particleemitter9.Enabled=true |
1981 | - | for i,v in pairs(SearchPlayer(user)) do |
1981 | + | particleemitter10.Enabled=true |
1982 | - | local me=v; |
1982 | + | particleemitter11.Enabled=true |
1983 | - | local char=v.Character; |
1983 | + | Humanoid.WalkSpeed = 64 |
1984 | - | for _,c in pairs(char:children()) do |
1984 | + | Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),4,4,4,6,6,6,0.025) |
1985 | - | if c.className == 'Model' then |
1985 | + | so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2) |
1986 | - | c:Destroy''; |
1986 | + | sphere=false |
1987 | elseif sphere==false then | |
1988 | music2:Stop() | |
1989 | - | local name=twuser.Text |
1989 | + | music:Play() |
1990 | - | local model=Instance.new('Model',char); |
1990 | + | particleemitter2.Enabled=false |
1991 | - | local humanoid=Instance.new('Humanoid',model); |
1991 | + | particleemitter3.Enabled=false |
1992 | - | local copy=char.Head:Clone''; |
1992 | + | particleemitter4.Enabled=false |
1993 | - | local weld=Instance.new('Weld',char.Head); |
1993 | + | particleemitter5.Enabled=false |
1994 | - | weld.Part0=char.Head |
1994 | + | particleemitter6.Enabled=false |
1995 | - | weld.Part1=copy |
1995 | + | particleemitter7.Enabled=false |
1996 | - | model.Name=name; |
1996 | + | particleemitter8.Enabled=false |
1997 | - | char.Head.Transparency=1; |
1997 | + | particleemitter9.Enabled=false |
1998 | - | humanoid.MaxHealth=0; |
1998 | + | particleemitter10.Enabled=false |
1999 | - | humanoid.Health=1; |
1999 | + | particleemitter11.Enabled=false |
2000 | - | copy.Parent=model; |
2000 | + | Humanoid.WalkSpeed = 16 |
2001 | - | copy.Name='Head'; |
2001 | + | Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),4,4,4,6,6,6,0.025) |
2002 | so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8) | |
2003 | sphere=true | |
2004 | end | |
2005 | - | function exp() |
2005 | + | |
2006 | - | local user=usertest.Text |
2006 | + | |
2007 | - | for i,v in pairs(SearchPlayer(user)) do |
2007 | + | --use3=false |
2008 | - | local explosion=Instance.new("Explosion",v.Character) |
2008 | + | |
2009 | - | explosion.Position = v.Character.Head.Position |
2009 | + | function TheWind() |
2010 | if aura==false then | |
2011 | Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025) | |
2012 | so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1) | |
2013 | - | function bjclick() |
2013 | + | ghostp.Transparency = 0.8 |
2014 | - | local user=usertest.Text |
2014 | + | ghostp2.Transparency = 0.85 |
2015 | - | local user2=twuser.Text |
2015 | + | ghostp3.Transparency = 0.9 |
2016 | - | for i,v in pairs(SearchPlayer(user)) do |
2016 | + | ghostp4.Transparency = 0.95 |
2017 | - | for c,b in pairs(SearchPlayer(user2)) do |
2017 | + | ghostp5.Transparency = 0.75 |
2018 | - | n2 = v.Name |
2018 | + | ghostp6.Transparency = 0.825 |
2019 | - | n1 = b.Name |
2019 | + | ghostp7.Transparency = 0.875 |
2020 | ghostp8.Transparency = 0.925 | |
2021 | - | pcall(function() |
2021 | + | aura=true |
2022 | - | t1 = game.Players[n1].Character.Torso |
2022 | + | elseif aura==true then |
2023 | - | t2 = game.Players[n2].Character.Torso |
2023 | + | Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025) |
2024 | - | t2.Parent.Humanoid.PlatformStand = true |
2024 | + | so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9) |
2025 | - | t1["Left Shoulder"]:Remove() |
2025 | + | ghostp.Transparency = 1 |
2026 | - | ls1 = Instance.new("Weld") |
2026 | + | ghostp2.Transparency = 1 |
2027 | - | ls1.Parent = t1 |
2027 | + | ghostp3.Transparency = 1 |
2028 | - | ls1.Part0 = t1 |
2028 | + | ghostp4.Transparency = 1 |
2029 | - | ls1.Part1 = t1.Parent["Left Arm"] |
2029 | + | ghostp5.Transparency = 1 |
2030 | - | ls1.C0 = CFrame.new(-1.5,0,0) |
2030 | + | ghostp6.Transparency = 1 |
2031 | - | ls1.Name = "Left Shoulder" |
2031 | + | ghostp7.Transparency = 1 |
2032 | - | t1["Right Shoulder"]:Remove() |
2032 | + | ghostp8.Transparency = 1 |
2033 | - | rs1 = Instance.new("Weld") |
2033 | + | aura=false |
2034 | - | rs1.Parent = t1 |
2034 | + | end |
2035 | - | rs1.Part0 = t1 |
2035 | + | while aura==true do |
2036 | - | rs1.Part1 = t1.Parent["Right Arm"] |
2036 | + | for i=0,1,0.05 do |
2037 | - | rs1.C0 = CFrame.new(1.5,0,0) |
2037 | + | wait() |
2038 | - | rs1.Name = "Right Shoulder" |
2038 | + | ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0)) |
2039 | - | t2["Left Shoulder"]:Remove() |
2039 | + | ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0)) |
2040 | - | ls2 = Instance.new("Weld") |
2040 | + | ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0)) |
2041 | - | ls2.Parent = t2 |
2041 | + | ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0)) |
2042 | - | ls2.Part0 = t2 |
2042 | + | ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0)) |
2043 | - | ls2.Part1 = t2.Parent["Left Arm"] |
2043 | + | ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0)) |
2044 | - | ls2.C0 = CFrame.new(-1.5,0,0) |
2044 | + | ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0)) |
2045 | - | ls2.Name = "Left Shoulder" |
2045 | + | ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0)) |
2046 | - | t2["Right Shoulder"]:Remove() |
2046 | + | end |
2047 | - | rs2 = Instance.new("Weld") |
2047 | + | end |
2048 | - | rs2.Parent = t2 |
2048 | + | |
2049 | - | rs2.Part0 = t2 |
2049 | + | |
2050 | - | rs2.Part1 = t2.Parent["Right Arm"] |
2050 | + | giantlasereye=1 |
2051 | - | rs2.C0 = CFrame.new(1.5,0,0) |
2051 | + | |
2052 | - | rs2.Name = "Right Shoulder" |
2052 | + | function ShootingTheEyes() |
2053 | - | t2["Left Hip"]:Remove() |
2053 | + | if giantlasereye==1 then |
2054 | - | lh2 = Instance.new("Weld") |
2054 | + | GiantLaserBlaster() |
2055 | - | lh2.Parent = t2 |
2055 | + | giantlasereye=2 |
2056 | - | lh2.Part0 = t2 |
2056 | + | elseif giantlasereye==2 then |
2057 | - | lh2.Part1 = t2.Parent["Left Leg"] |
2057 | + | GiantLaserBlaster2() |
2058 | - | lh2.C0 = CFrame.new(-0.5,-2,0) |
2058 | + | giantlasereye=1 |
2059 | - | lh2.Name = "Left Hip" |
2059 | + | |
2060 | - | t2["Right Hip"]:Remove() |
2060 | + | |
2061 | - | rh2 = Instance.new("Weld") |
2061 | + | |
2062 | - | rh2.Parent = t2 |
2062 | + | mouse.KeyDown:connect(function(k) |
2063 | - | rh2.Part0 = t2 |
2063 | + | k=k:lower() |
2064 | - | rh2.Part1 = t2.Parent["Right Leg"] |
2064 | + | if k=='r' and attack==false and sphere==true and aura==false then |
2065 | - | rh2.C0 = CFrame.new(0.5,-2,0) |
2065 | + | Hibernation() |
2066 | - | rh2.Name = "Right Hip" |
2066 | + | end |
2067 | - | local d = Instance.new("Part") |
2067 | + | if k=='f' and used2==false and sphere==true and rest==false then |
2068 | - | d.TopSurface = 0 |
2068 | + | ShootingTheEyes() |
2069 | - | d.BottomSurface = 0 |
2069 | + | end |
2070 | - | d.CanCollide = false |
2070 | + | if k=='q' and rest==false and ragemodedelay==false then |
2071 | - | d.BrickColor = BrickColor.new("Medium stone grey") |
2071 | + | RageMode() |
2072 | - | d.Shape = "Ball" |
2072 | + | ragemodedelay=true |
2073 | - | d.Parent = t1 |
2073 | + | wait(3) |
2074 | - | d.Size = Vector3.new(1,1,1) |
2074 | + | ragemodedelay=false |
2075 | - | local dm = Instance.new("SpecialMesh") |
2075 | + | end |
2076 | - | dm.MeshType = "Sphere" |
2076 | + | if k=='e' and rest==false then |
2077 | - | dm.Parent = d |
2077 | + | TheWind() |
2078 | - | dm.Scale = Vector3.new(0.4,0.4,0.4) |
2078 | + | end |
2079 | - | fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0) |
2079 | + | |
2080 | - | d2 = d:Clone() |
2080 | + | |
2081 | - | d2.Parent = t1 |
2081 | + | local sine = 0 |
2082 | - | fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0) |
2082 | + | local change = 1 |
2083 | - | local c = Instance.new("Part") |
2083 | + | local val = 0 |
2084 | - | c.TopSurface = 0 |
2084 | + | |
2085 | - | c.BottomSurface = 0 |
2085 | + | |
2086 | - | c.CanCollide = false |
2086 | + | swait() |
2087 | - | c.BrickColor = BrickColor.new("Pastel brown") |
2087 | + | sine = sine + change |
2088 | - | c.Parent = t1 |
2088 | + | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
2089 | - | c.formFactor = "Custom" |
2089 | + | local velderp=RootPart.Velocity.y |
2090 | - | c.Size = Vector3.new(0.4,1.3,0.4) |
2090 | + | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
2091 | - | cm = Instance.new("CylinderMesh") |
2091 | + | if equipped==true or equipped==false then |
2092 | - | cm.Parent = c |
2092 | + | if attack==false then |
2093 | - | a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0) |
2093 | + | idle=idle+1 |
2094 | - | c2 = d:Clone() |
2094 | + | |
2095 | - | c2.BrickColor = BrickColor.new("Medium stone grey") |
2095 | + | idle=0 |
2096 | - | c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4) |
2096 | + | |
2097 | - | c2.Parent = t1 |
2097 | + | if idle>=500 then |
2098 | - | fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0) |
2098 | + | if attack==false then |
2099 | - | local bl = Instance.new("Part") |
2099 | + | --Sheath() |
2100 | - | bl.TopSurface = 0 |
2100 | + | |
2101 | - | bl.BottomSurface = 0 |
2101 | + | |
2102 | - | bl.CanCollide = false |
2102 | + | if RootPart.Velocity.y > 1 and hitfloor==nil then |
2103 | - | bl.BrickColor = BrickColor.new("Pastel brown") |
2103 | + | Anim="Jump" |
2104 | - | bl.Shape = "Ball" |
2104 | + | if attack==false and sphere==false then |
2105 | - | bl.Parent = t2 |
2105 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(-30),math.rad(0),math.rad(0)),.1) |
2106 | - | bl.Size = Vector3.new(1,1,1) |
2106 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
2107 | - | local dm = Instance.new("SpecialMesh") |
2107 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(80-10*math.cos(sine/60))), 0.3) |
2108 | - | dm.MeshType = "Sphere" |
2108 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-80+10*math.cos(sine/60))), 0.3) |
2109 | - | dm.Parent = bl |
2109 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
2110 | - | dm.Scale = Vector3.new(1.2,1.2,1.2) |
2110 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
2111 | - | fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0) |
2111 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
2112 | - | local br = Instance.new("Part") |
2112 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) |
2113 | - | br.TopSurface = 0 |
2113 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2114 | - | br.BottomSurface = 0 |
2114 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) |
2115 | - | br.CanCollide = false |
2115 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2116 | - | br.BrickColor = BrickColor.new("Pastel brown") |
2116 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2117 | - | br.Shape = "Ball" |
2117 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) |
2118 | - | br.Parent = t2 |
2118 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) |
2119 | - | br.Size = Vector3.new(1,1,1) |
2119 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2120 | - | local dm = Instance.new("SpecialMesh") |
2120 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) |
2121 | - | dm.MeshType = "Sphere" |
2121 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2122 | - | dm.Parent = br |
2122 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
2123 | - | dm.Scale = Vector3.new(1.2,1.2,1.2) |
2123 | + | |
2124 | - | fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0) |
2124 | + | if attack==false and sphere==true then |
2125 | - | local bln = Instance.new("Part") |
2125 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) |
2126 | - | bln.TopSurface = 0 |
2126 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
2127 | - | bln.BottomSurface = 0 |
2127 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
2128 | - | bln.CanCollide = false |
2128 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
2129 | - | bln.Shape = "Ball" |
2129 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
2130 | - | bln.Parent = t2 |
2130 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
2131 | - | bln.Size = Vector3.new(1,1,1) |
2131 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2132 | - | local dm = Instance.new("SpecialMesh") |
2132 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2133 | - | dm.MeshType = "Sphere" |
2133 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2134 | - | dm.Parent = bln |
2134 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2135 | - | dm.Scale = Vector3.new(0.2,0.2,0.2) |
2135 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2136 | - | fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0) |
2136 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2137 | - | local brn = Instance.new("Part") |
2137 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2138 | - | brn.TopSurface = 0 |
2138 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2139 | - | brn.BottomSurface = 0 |
2139 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2140 | - | brn.CanCollide = false |
2140 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2141 | - | brn.Shape = "Ball" |
2141 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2142 | - | brn.Parent = t2 |
2142 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2143 | - | brn.Size = Vector3.new(1,1,1) |
2143 | + | |
2144 | - | local dm = Instance.new("SpecialMesh") |
2144 | + | |
2145 | - | dm.MeshType = "Sphere" |
2145 | + | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
2146 | - | dm.Parent = brn |
2146 | + | Anim="Fall" |
2147 | - | dm.Scale = Vector3.new(0.2,0.2,0.2) |
2147 | + | if attack==false and sphere==false then |
2148 | - | fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0) |
2148 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(30),math.rad(0),math.rad(0)),.1) |
2149 | - | lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0) |
2149 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
2150 | - | rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0) |
2150 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120-10*math.cos(sine/60))), 0.3) |
2151 | - | ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.7,-0.2,0) |
2151 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120+10*math.cos(sine/60))), 0.3) |
2152 | - | rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.7,0.2,0) |
2152 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
2153 | - | ls1.C1 = CFrame.new(-0.5,0.9,0.5) * CFrame.Angles(-1.2,.2,0) |
2153 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
2154 | - | rs1.C1 = CFrame.new(0.5,0.9,0.5) * CFrame.Angles(-1.2,-.2,0) |
2154 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
2155 | - | if t1:findFirstChild("weldx") ~= nil then |
2155 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) |
2156 | - | t1.weldx:Remove() |
2156 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2157 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
2158 | - | we = fWeld("weldx", t1, t1, t2, true, 0, -1.8, -2.47, math.rad(-130), 0, 172.79) |
2158 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2159 | - | n = t2.Neck |
2159 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2160 | - | n.C0 = CFrame.new(0, 1.2, 0) * CFrame.Angles(math.rad(-235), math.rad(180), 0) |
2160 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) |
2161 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
2162 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2163 | - | while wait() do |
2163 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) |
2164 | - | for i = 1,6 do |
2164 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2165 | - | we.C1 = we.C1 * CFrame.new(0.0,0.05,-0.05) |
2165 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
2166 | - | ls2.C1 = ls2.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.014,-0.004,0) |
2166 | + | |
2167 | - | rs2.C1 = rs2.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.014,-0.004,0) |
2167 | + | if attack==false and sphere==true then |
2168 | - | ls1.C1 = ls1.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.020,0,0) |
2168 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(20),math.rad(0),math.rad(0)),.1) |
2169 | - | rs1.C1 = rs1.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.020,0,0) |
2169 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
2170 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2171 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2172 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
2173 | - | for i = 1,6 do |
2173 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
2174 | - | we.C1 = we.C1 * CFrame.new(0.0,-0.05,0.05) |
2174 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2175 | - | ls2.C1 = ls2.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.014,0.004,0) |
2175 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2176 | - | rs2.C1 = rs2.C1 * CFrame.new(0,0,0) * CFrame.Angles(-0.014,0.004,0) |
2176 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2177 | - | ls1.C1 = ls1.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.020,0,0) |
2177 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2178 | - | rs1.C1 = rs1.C1 * CFrame.new(0,0,0) * CFrame.Angles(0.020,0,0) |
2178 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2179 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2180 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2181 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2182 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2183 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2184 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2185 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2186 | end | |
2187 | end | |
2188 | - | msg.MouseButton1Click:connect(msgclick) |
2188 | + | elseif torvel<1 and hitfloor~=nil then |
2189 | - | kbutton.MouseButton1Click:connect(kbuttonclick) |
2189 | + | Anim="Idle" |
2190 | - | ttbutton.MouseButton1Click:connect(ttbuttonclick) |
2190 | + | Humanoid.WalkSpeed = 64 |
2191 | - | nkdbutton.MouseButton1Click:connect(nkdbuttonclick) |
2191 | + | if attack==false and sphere==false and rest==false then |
2192 | - | tw.MouseButton1Click:connect(twclick) |
2192 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1) |
2193 | - | dkbutton.MouseButton1Click:connect(dkclick) |
2193 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
2194 | - | sdkbutton.MouseButton1Click:connect(sdkclick) |
2194 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(100-5*math.cos(sine/30))), 0.3) |
2195 | - | mdkbutton.MouseButton1Click:connect(mdkclick) |
2195 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(-100+5*math.cos(sine/30))), 0.3) |
2196 | - | hdkbutton.MouseButton1Click:connect(hdkclick) |
2196 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
2197 | - | godbutton.MouseButton1Click:connect(godclick) |
2197 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) |
2198 | - | kick.MouseButton1Click:connect(kickclick) |
2198 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
2199 | - | ban.MouseButton1Click:connect(banclick) |
2199 | + | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) |
2200 | - | sbj.MouseButton1Click:connect(sbjclick) |
2200 | + | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2201 | - | n.MouseButton1Click:connect(nclick) |
2201 | + | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) |
2202 | - | c.MouseButton1Click:connect(cawm) |
2202 | + | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2203 | - | dkinp.MouseButton1Click:connect(dkinpc) |
2203 | + | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2204 | - | dkinperson.MouseButton1Click:connect(dkpc) |
2204 | + | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) |
2205 | - | base.MouseButton1Click:connect(basec) |
2205 | + | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) |
2206 | - | queeeef.MouseButton1Click:connect(q) |
2206 | + | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2207 | - | base_white.MouseButton1Click:connect(basewc) |
2207 | + | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) |
2208 | - | evolve.MouseButton1Click:connect(evolvec) |
2208 | + | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2209 | - | cn.MouseButton1Click:connect(nc) |
2209 | + | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
2210 | - | explo.MouseButton1Click:connect(exp) |
2210 | + | |
2211 | - | threeway.MouseButton1Click:connect(threewayc) |
2211 | + | if attack==false and sphere==true and rest==false then |
2212 | - | bjay.MouseButton1Click:connect(bjclick) |
2212 | + | Humanoid.WalkSpeed = 16 |
2213 | - | frame.MouseEnter:connect(function() |
2213 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0+1*math.cos(sine/20),0,12-0.5*math.cos(sine/40))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1) |
2214 | - | frame:TweenPosition(UDim2.new(0,0,0.25,0), "Out", "Quad", 1, true) |
2214 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
2215 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2216 | - | frame.MouseLeave:connect(function() |
2216 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
2217 | - | frame:TweenPosition(UDim2.new(-0.39,0,0.25,0), "Out", "Quad", 1, true) |
2217 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) |
2218 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
2219 | - | game.Players.PlayerAdded:connect(Status) |
2219 | + | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) |
2220 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2221 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2222 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2223 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2224 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2225 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2226 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2227 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2228 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2229 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2230 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2231 | else | |
2232 | if attack==false and sphere==true and rest==true then | |
2233 | Humanoid.WalkSpeed = 0 | |
2234 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2.5+2.5*math.cos(sine/20)),math.rad(30),math.rad(0)),.1) | |
2235 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
2236 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2237 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2238 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
2239 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
2240 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2241 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2242 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2243 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2244 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2245 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2246 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2247 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2248 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2249 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2250 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2251 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2252 | end | |
2253 | end | |
2254 | end | |
2255 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
2256 | Anim="Walk" | |
2257 | if attack==false and sphere==false then | |
2258 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
2259 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
2260 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3) | |
2261 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3) | |
2262 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
2263 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
2264 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
2265 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
2266 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2267 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
2268 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2269 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2270 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) | |
2271 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
2272 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2273 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
2274 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2275 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
2276 | else | |
2277 | if attack==false and sphere==true then | |
2278 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
2279 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
2280 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2281 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2282 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
2283 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
2284 | arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2285 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2286 | arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2287 | arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2288 | arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2289 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2290 | arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2291 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2292 | arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2293 | arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2294 | arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2295 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2296 | end | |
2297 | end | |
2298 | elseif torvel>=22 and hitfloor~=nil then | |
2299 | Anim="Run" | |
2300 | if attack==false and sphere==false then | |
2301 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
2302 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
2303 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3) | |
2304 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3) | |
2305 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
2306 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
2307 | arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
2308 | arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
2309 | arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2310 | arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
2311 | arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2312 | arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2313 | arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3) | |
2314 | arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5) | |
2315 | arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2316 | arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3) | |
2317 | arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
2318 | arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
2319 | end | |
2320 | end | |
2321 | end | |
2322 | if #Effects>0 then | |
2323 | --table.insert(Effects,{prt,"Block1",delay}) | |
2324 | for e=1,#Effects do | |
2325 | if Effects[e]~=nil then | |
2326 | --for j=1,#Effects[e] do | |
2327 | local Thing=Effects[e] | |
2328 | if Thing~=nil then | |
2329 | local Part=Thing[1] | |
2330 | local Mode=Thing[2] | |
2331 | local Delay=Thing[3] | |
2332 | local IncX=Thing[4] | |
2333 | local IncY=Thing[5] | |
2334 | local IncZ=Thing[6] | |
2335 | if Thing[1].Transparency<=1 then | |
2336 | if Thing[2]=="Block1" then | |
2337 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2338 | Mesh=Thing[1].Mesh | |
2339 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
2340 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2341 | elseif Thing[2]=="Cylinder" then | |
2342 | Mesh=Thing[1].Mesh | |
2343 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
2344 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2345 | elseif Thing[2]=="Blood" then | |
2346 | Mesh=Thing[7] | |
2347 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
2348 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
2349 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2350 | elseif Thing[2]=="Elec" then | |
2351 | Mesh=Thing[1].Mesh | |
2352 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
2353 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2354 | elseif Thing[2]=="Disappear" then | |
2355 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
2356 | end | |
2357 | else | |
2358 | Part.Parent=nil | |
2359 | table.remove(Effects,e) | |
2360 | end | |
2361 | end | |
2362 | --end | |
2363 | end | |
2364 | end | |
2365 | end | |
2366 | end |